... | ... |
@@ -49,6 +49,21 @@ generated: |
49 | 49 |
\item{"provider" = "PoliMi"} |
50 | 50 |
\item{"application" = "RGMQL"} |
51 | 51 |
} |
52 |
+ |
|
53 |
+NOTE: |
|
54 |
+The folder layout must obey the following rules and adopt |
|
55 |
+the following layout: |
|
56 |
+The dataset folder can have any name, but must contains the |
|
57 |
+sub-folders named: "files". |
|
58 |
+The sub-folder "files" contains the dataset files and |
|
59 |
+the schema xml file. |
|
60 |
+The schema files adopt the following the naming conventions: |
|
61 |
+ |
|
62 |
+- "schema.xml" |
|
63 |
+- "test.schema" |
|
64 |
+ |
|
65 |
+The names must be in LOWERCASE. Any other schema file |
|
66 |
+will not be conisdered, if both are present, "test.schema" will be used. |
|
52 | 67 |
} |
53 | 68 |
\examples{ |
54 | 69 |
|
... | ... |
@@ -74,4 +89,5 @@ remote_url = "http://www.gmql.eu/gmql-rest/" |
74 | 89 |
login_gmql(remote_url) |
75 | 90 |
data1 = read_gmql("public.Example_Dataset_1", is_local = FALSE) |
76 | 91 |
|
92 |
+ |
|
77 | 93 |
} |
1 | 1 |
old mode 100644 |
2 | 2 |
new mode 100755 |
... | ... |
@@ -5,7 +5,7 @@ |
5 | 5 |
\alias{read_GRangesList} |
6 | 6 |
\title{Function read} |
7 | 7 |
\usage{ |
8 |
-read_gmql(dataset, parser = "CustomParser", is_local = TRUE, is_GMQL = TRUE) |
|
8 |
+read_gmql(dataset, parser = "CustomParser", is_local = TRUE) |
|
9 | 9 |
|
10 | 10 |
read_GRangesList(samples) |
11 | 11 |
} |
... | ... |
@@ -24,8 +24,6 @@ Default is CustomParser.} |
24 | 24 |
|
25 | 25 |
\item{is_local}{logical value indicating local or remote dataset} |
26 | 26 |
|
27 |
-\item{is_GMQL}{logical value indicating GMQL dataset or not} |
|
28 |
- |
|
29 | 27 |
\item{samples}{GRangesList} |
30 | 28 |
} |
31 | 29 |
\value{ |
... | ... |
@@ -40,7 +38,7 @@ remote processing. |
40 | 38 |
} |
41 | 39 |
\details{ |
42 | 40 |
Normally, a GMQL dataset contains an XML schema file that contains |
43 |
-name of region attributes. (e.g chr, start, stop, strand)" |
|
41 |
+name of region attributes. (e.g chr, start, stop, strand) |
|
44 | 42 |
The CustomParser reads this XML schema; |
45 | 43 |
if you already know what kind of schema your files have, use one of the |
46 | 44 |
parsers defined, without reading any XML schema. |
... | ... |
@@ -5,8 +5,7 @@ |
5 | 5 |
\alias{read_GRangesList} |
6 | 6 |
\title{Function read} |
7 | 7 |
\usage{ |
8 |
-read_gmql(dataset, parser = "CustomParser", is_local = TRUE, |
|
9 |
- is_GMQL = TRUE) |
|
8 |
+read_gmql(dataset, parser = "CustomParser", is_local = TRUE, is_GMQL = TRUE) |
|
10 | 9 |
|
11 | 10 |
read_GRangesList(samples) |
12 | 11 |
} |
... | ... |
@@ -41,7 +40,7 @@ remote processing. |
41 | 40 |
} |
42 | 41 |
\details{ |
43 | 42 |
Normally, a GMQL dataset contains an XML schema file that contains |
44 |
-name of region attributes. (e.g chr, start, stop, strand) |
|
43 |
+name of region attributes. (e.g chr, start, stop, strand)" |
|
45 | 44 |
The CustomParser reads this XML schema; |
46 | 45 |
if you already know what kind of schema your files have, use one of the |
47 | 46 |
parsers defined, without reading any XML schema. |
... | ... |
@@ -2,7 +2,6 @@ |
2 | 2 |
% Please edit documentation in R/gmql_read.R |
3 | 3 |
\name{read_gmql} |
4 | 4 |
\alias{read_gmql} |
5 |
-\alias{read_gmql} |
|
6 | 5 |
\alias{read_GRangesList} |
7 | 6 |
\title{Function read} |
8 | 7 |
\usage{ |
... | ... |
@@ -74,7 +73,7 @@ dataPeak = read_gmql(test_path,"NarrowPeakParser") |
74 | 73 |
## repository. For a public dataset in a (remote) GMQL repository the |
75 | 74 |
## prefix "public." is needed before dataset name |
76 | 75 |
|
77 |
-remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/" |
|
76 |
+remote_url = "http://www.gmql.eu/gmql-rest/" |
|
78 | 77 |
login_gmql(remote_url) |
79 | 78 |
data1 = read_gmql("public.Example_Dataset_1", is_local = FALSE) |
80 | 79 |
|
... | ... |
@@ -60,7 +60,7 @@ generated: |
60 | 60 |
## and creation of results on disk. Then, with system.file() it defines |
61 | 61 |
## the path to the folder "DATASET" in the subdirectory "example" |
62 | 62 |
## of the package "RGMQL" and opens such folder as a GMQL dataset |
63 |
-## named "data" using customParser |
|
63 |
+## named "data" using CustomParser |
|
64 | 64 |
|
65 | 65 |
init_gmql() |
66 | 66 |
test_path <- system.file("example", "DATASET", package = "RGMQL") |
... | ... |
@@ -1,12 +1,12 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 | 2 |
% Please edit documentation in R/gmql_read.R |
3 |
-\name{read_GMQL} |
|
4 |
-\alias{read_GMQL} |
|
5 |
-\alias{read_GMQL} |
|
3 |
+\name{read_gmql} |
|
4 |
+\alias{read_gmql} |
|
5 |
+\alias{read_gmql} |
|
6 | 6 |
\alias{read_GRangesList} |
7 | 7 |
\title{Function read} |
8 | 8 |
\usage{ |
9 |
-read_GMQL(dataset, parser = "CustomParser", is_local = TRUE, |
|
9 |
+read_gmql(dataset, parser = "CustomParser", is_local = TRUE, |
|
10 | 10 |
is_GMQL = TRUE) |
11 | 11 |
|
12 | 12 |
read_GRangesList(samples) |
... | ... |
@@ -14,14 +14,13 @@ read_GRangesList(samples) |
14 | 14 |
\arguments{ |
15 | 15 |
\item{dataset}{folder path for GMQL dataset or dataset name on repository} |
16 | 16 |
|
17 |
-\item{parser}{string used to parsing dataset files |
|
18 |
-The Parser's available are: |
|
17 |
+\item{parser}{string used to parsing dataset files. |
|
18 |
+The Parsers available are: |
|
19 | 19 |
\itemize{ |
20 |
-\item{ANNParser} |
|
21 |
-\item{BroadProjParser} |
|
20 |
+\item{BedParser} |
|
21 |
+\item{BroadPeakParser} |
|
22 | 22 |
\item{NarrowPeakParser} |
23 |
-\item{RnaSeqParser} |
|
24 |
-\item{CustomParser.} |
|
23 |
+\item{CustomParser} |
|
25 | 24 |
} |
26 | 25 |
Default is CustomParser.} |
27 | 26 |
|
... | ... |
@@ -36,20 +35,20 @@ GMQLDataset object. It contains the value to use as input |
36 | 35 |
for the subsequent GMQLDataset method |
37 | 36 |
} |
38 | 37 |
\description{ |
39 |
-It reads a GMQL dataset, as a folder containig some homogenus samples on |
|
40 |
-disk or as a GrangesList; it saving in Scala memory in a way that can be |
|
38 |
+It reads a GMQL dataset, as a folder containing some homogenus samples on |
|
39 |
+disk or as a GRangesList, saving it in Scala memory in a way that can be |
|
41 | 40 |
referenced in R. It is also used to read a repository dataset in case of |
42 | 41 |
remote processing. |
43 | 42 |
} |
44 | 43 |
\details{ |
45 |
-Normally a GMQL dataset contains an XML schema file that contains |
|
44 |
+Normally, a GMQL dataset contains an XML schema file that contains |
|
46 | 45 |
name of region attributes. (e.g chr, start, stop, strand) |
47 | 46 |
The CustomParser reads this XML schema; |
48 | 47 |
if you already know what kind of schema your files have, use one of the |
49 | 48 |
parsers defined, without reading any XML schema. |
50 | 49 |
|
51 | 50 |
If GRangesList has no metadata: i.e. metadata() is empty, two metadata are |
52 |
-generated. |
|
51 |
+generated: |
|
53 | 52 |
\itemize{ |
54 | 53 |
\item{"provider" = "PoliMi"} |
55 | 54 |
\item{"application" = "RGMQL"} |
... | ... |
@@ -57,19 +56,19 @@ generated. |
57 | 56 |
} |
58 | 57 |
\examples{ |
59 | 58 |
|
60 |
-## Thi statement initializes and runs the GMQL server for local execution |
|
59 |
+## This statement initializes and runs the GMQL server for local execution |
|
61 | 60 |
## and creation of results on disk. Then, with system.file() it defines |
62 |
-## the path to the folders "DATASET" in the subdirectory "example" |
|
61 |
+## the path to the folder "DATASET" in the subdirectory "example" |
|
63 | 62 |
## of the package "RGMQL" and opens such folder as a GMQL dataset |
64 |
-## named "data" |
|
63 |
+## named "data" using customParser |
|
65 | 64 |
|
66 | 65 |
init_gmql() |
67 | 66 |
test_path <- system.file("example", "DATASET", package = "RGMQL") |
68 |
-data = read_GMQL(test_path) |
|
67 |
+data = read_gmql(test_path) |
|
69 | 68 |
|
70 | 69 |
## This statement opens such folder as a GMQL dataset named "data" using |
71 | 70 |
## "NarrowPeakParser" |
72 |
-dataPeak = read_GMQL(test_path,"NarrowPeakParser") |
|
71 |
+dataPeak = read_gmql(test_path,"NarrowPeakParser") |
|
73 | 72 |
|
74 | 73 |
## This statement reads a remote public dataset stored into GMQL system |
75 | 74 |
## repository. For a public dataset in a (remote) GMQL repository the |
... | ... |
@@ -77,6 +76,6 @@ dataPeak = read_GMQL(test_path,"NarrowPeakParser") |
77 | 76 |
|
78 | 77 |
remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/" |
79 | 78 |
login_gmql(remote_url) |
80 |
-data1 = read_GMQL("public.Example_Dataset_1",is_local = FALSE) |
|
79 |
+data1 = read_gmql("public.Example_Dataset_1", is_local = FALSE) |
|
81 | 80 |
|
82 | 81 |
} |
... | ... |
@@ -77,6 +77,6 @@ dataPeak = read_GMQL(test_path,"NarrowPeakParser") |
77 | 77 |
|
78 | 78 |
remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/" |
79 | 79 |
login_gmql(remote_url) |
80 |
-data1 = read_GMQL("public.Example_Dataset1",is_local = FALSE) |
|
80 |
+data1 = read_GMQL("public.Example_Dataset_1",is_local = FALSE) |
|
81 | 81 |
|
82 | 82 |
} |
... | ... |
@@ -1,15 +1,15 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 | 2 |
% Please edit documentation in R/gmql_read.R |
3 |
-\name{read_dataset} |
|
4 |
-\alias{read_dataset} |
|
5 |
-\alias{read_dataset} |
|
6 |
-\alias{read} |
|
3 |
+\name{read_GMQL} |
|
4 |
+\alias{read_GMQL} |
|
5 |
+\alias{read_GMQL} |
|
6 |
+\alias{read_GRangesList} |
|
7 | 7 |
\title{Function read} |
8 | 8 |
\usage{ |
9 |
-read_dataset(dataset, parser = "CustomParser", is_local = TRUE, |
|
9 |
+read_GMQL(dataset, parser = "CustomParser", is_local = TRUE, |
|
10 | 10 |
is_GMQL = TRUE) |
11 | 11 |
|
12 |
-read(samples) |
|
12 |
+read_GRangesList(samples) |
|
13 | 13 |
} |
14 | 14 |
\arguments{ |
15 | 15 |
\item{dataset}{folder path for GMQL dataset or dataset name on repository} |
... | ... |
@@ -65,16 +65,18 @@ generated. |
65 | 65 |
|
66 | 66 |
init_gmql() |
67 | 67 |
test_path <- system.file("example", "DATASET", package = "RGMQL") |
68 |
-data = read_dataset(test_path) |
|
68 |
+data = read_GMQL(test_path) |
|
69 | 69 |
|
70 | 70 |
## This statement opens such folder as a GMQL dataset named "data" using |
71 | 71 |
## "NarrowPeakParser" |
72 |
-dataPeak = read_dataset(test_path,"NarrowPeakParser") |
|
72 |
+dataPeak = read_GMQL(test_path,"NarrowPeakParser") |
|
73 | 73 |
|
74 | 74 |
## This statement reads a remote public dataset stored into GMQL system |
75 | 75 |
## repository. For a public dataset in a (remote) GMQL repository the |
76 | 76 |
## prefix "public." is needed before dataset name |
77 | 77 |
|
78 |
-data1 = read_dataset("public.Example_Dataset1",is_local = FALSE) |
|
78 |
+remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/" |
|
79 |
+login_gmql(remote_url) |
|
80 |
+data1 = read_GMQL("public.Example_Dataset1",is_local = FALSE) |
|
79 | 81 |
|
80 | 82 |
} |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
% Generated by roxygen2: do not edit by hand |
2 | 2 |
% Please edit documentation in R/gmql_read.R |
3 |
-\name{read} |
|
4 |
-\alias{read} |
|
3 |
+\name{read_dataset} |
|
4 |
+\alias{read_dataset} |
|
5 | 5 |
\alias{read_dataset} |
6 | 6 |
\alias{read} |
7 | 7 |
\title{Function read} |
... | ... |
@@ -12,15 +12,13 @@ read_dataset(dataset, parser = "CustomParser", is_local = TRUE, |
12 | 12 |
read(samples) |
13 | 13 |
} |
14 | 14 |
\arguments{ |
15 |
-\item{dataset}{folder path for GMQL dataset or datasetname on repository} |
|
15 |
+\item{dataset}{folder path for GMQL dataset or dataset name on repository} |
|
16 | 16 |
|
17 | 17 |
\item{parser}{string used to parsing dataset files |
18 | 18 |
The Parser's available are: |
19 | 19 |
\itemize{ |
20 |
-\item{BedParser} |
|
21 | 20 |
\item{ANNParser} |
22 | 21 |
\item{BroadProjParser} |
23 |
-\item{BedParser} |
|
24 | 22 |
\item{NarrowPeakParser} |
25 | 23 |
\item{RnaSeqParser} |
26 | 24 |
\item{CustomParser.} |
... | ... |
@@ -29,50 +27,54 @@ Default is CustomParser.} |
29 | 27 |
|
30 | 28 |
\item{is_local}{logical value indicating local or remote dataset} |
31 | 29 |
|
32 |
-\item{is_GMQL}{logical value indicating if is a GMQL dataset or not} |
|
30 |
+\item{is_GMQL}{logical value indicating GMQL dataset or not} |
|
33 | 31 |
|
34 |
-\item{samples}{GrangesList} |
|
32 |
+\item{samples}{GRangesList} |
|
35 | 33 |
} |
36 | 34 |
\value{ |
37 | 35 |
GMQLDataset object. It contains the value to use as input |
38 | 36 |
for the subsequent GMQLDataset method |
39 | 37 |
} |
40 | 38 |
\description{ |
41 |
-Read a GMQL dataset, folder containig some homogenus sample from disk |
|
42 |
-or GrangesList saving in Scala memory that can be referenced in R. |
|
43 |
-Also used to read a repository dataset in case of remote processing. |
|
39 |
+It reads a GMQL dataset, as a folder containig some homogenus samples on |
|
40 |
+disk or as a GrangesList; it saving in Scala memory in a way that can be |
|
41 |
+referenced in R. It is also used to read a repository dataset in case of |
|
42 |
+remote processing. |
|
44 | 43 |
} |
45 | 44 |
\details{ |
46 | 45 |
Normally a GMQL dataset contains an XML schema file that contains |
47 |
-name of column header. (e.g chr, start, stop, strand) |
|
48 |
-The CustomParser read this XML schema; |
|
49 |
-if you already know what kind of schema your files are, use one of the |
|
50 |
-parser defined without reading any XML schema |
|
46 |
+name of region attributes. (e.g chr, start, stop, strand) |
|
47 |
+The CustomParser reads this XML schema; |
|
48 |
+if you already know what kind of schema your files have, use one of the |
|
49 |
+parsers defined, without reading any XML schema. |
|
51 | 50 |
|
52 |
-If GrangesList has no metadata: i.e. metadata() is empty, two metadata are |
|
51 |
+If GRangesList has no metadata: i.e. metadata() is empty, two metadata are |
|
53 | 52 |
generated. |
54 | 53 |
\itemize{ |
55 |
-\item{"Provider" = "Polimi"} |
|
56 |
-\item{"Application" = "RGMQL"} |
|
54 |
+\item{"provider" = "PoliMi"} |
|
55 |
+\item{"application" = "RGMQL"} |
|
57 | 56 |
} |
58 | 57 |
} |
59 | 58 |
\examples{ |
60 | 59 |
|
61 |
-## read local dataset with CustomParser |
|
60 |
+## Thi statement initializes and runs the GMQL server for local execution |
|
61 |
+## and creation of results on disk. Then, with system.file() it defines |
|
62 |
+## the path to the folders "DATASET" in the subdirectory "example" |
|
63 |
+## of the package "RGMQL" and opens such folder as a GMQL dataset |
|
64 |
+## named "data" |
|
65 |
+ |
|
62 | 66 |
init_gmql() |
63 | 67 |
test_path <- system.file("example", "DATASET", package = "RGMQL") |
64 |
-r = read_dataset(test_path) |
|
68 |
+data = read_dataset(test_path) |
|
65 | 69 |
|
66 |
-\dontrun{ |
|
70 |
+## This statement opens such folder as a GMQL dataset named "data" using |
|
71 |
+## "NarrowPeakParser" |
|
72 |
+dataPeak = read_dataset(test_path,"NarrowPeakParser") |
|
67 | 73 |
|
68 |
-## read local dataset with other Parser |
|
69 |
-init_gmql() |
|
70 |
-test_path <- system.file("example", "DATASET", package = "RGMQL") |
|
71 |
-r = read_dataset(test_path,"ANNParser") |
|
74 |
+## This statement reads a remote public dataset stored into GMQL system |
|
75 |
+## repository. For a public dataset in a (remote) GMQL repository the |
|
76 |
+## prefix "public." is needed before dataset name |
|
72 | 77 |
|
73 |
-## read remote public dataset stored into GMQL system repository |
|
74 |
-## If public dataset a prefix "public." is needed before dataset name |
|
75 |
-r2 = read_dataset("public.HG19_TCGA_dnaseq",is_local = FALSE) |
|
78 |
+data1 = read_dataset("public.Example_Dataset1",is_local = FALSE) |
|
76 | 79 |
|
77 | 80 |
} |
78 |
-} |
... | ... |
@@ -4,7 +4,7 @@ |
4 | 4 |
\alias{read} |
5 | 5 |
\alias{read_dataset} |
6 | 6 |
\alias{read} |
7 |
-\title{GMQL Function: READ} |
|
7 |
+\title{Function read} |
|
8 | 8 |
\usage{ |
9 | 9 |
read_dataset(dataset, parser = "CustomParser", is_local = TRUE, |
10 | 10 |
is_GMQL = TRUE) |
... | ... |
@@ -34,15 +34,13 @@ Default is CustomParser.} |
34 | 34 |
\item{samples}{GrangesList} |
35 | 35 |
} |
36 | 36 |
\value{ |
37 |
-DataSet class object. It contains the value to use as input |
|
38 |
-for the subsequent GMQL function |
|
37 |
+GMQLDataset object. It contains the value to use as input |
|
38 |
+for the subsequent GMQLDataset method |
|
39 | 39 |
} |
40 | 40 |
\description{ |
41 |
-Read a GMQL dataset or any other folder containig some homogenus sample |
|
42 |
-from disk, saving in Scala memory that can be referenced in R |
|
41 |
+Read a GMQL dataset, folder containig some homogenus sample from disk |
|
42 |
+or GrangesList saving in Scala memory that can be referenced in R. |
|
43 | 43 |
Also used to read a repository dataset in case of remote processing. |
44 |
- |
|
45 |
-Read a GrangesList saving in scala memory that can be referenced in R |
|
46 | 44 |
} |
47 | 45 |
\details{ |
48 | 46 |
Normally a GMQL dataset contains an XML schema file that contains |
... | ... |
@@ -50,6 +48,13 @@ name of column header. (e.g chr, start, stop, strand) |
50 | 48 |
The CustomParser read this XML schema; |
51 | 49 |
if you already know what kind of schema your files are, use one of the |
52 | 50 |
parser defined without reading any XML schema |
51 |
+ |
|
52 |
+If GrangesList has no metadata: i.e. metadata() is empty, two metadata are |
|
53 |
+generated. |
|
54 |
+\itemize{ |
|
55 |
+\item{"Provider" = "Polimi"} |
|
56 |
+\item{"Application" = "RGMQL"} |
|
57 |
+} |
|
53 | 58 |
} |
54 | 59 |
\examples{ |
55 | 60 |
|
... | ... |
@@ -66,7 +71,7 @@ test_path <- system.file("example", "DATASET", package = "RGMQL") |
66 | 71 |
r = read_dataset(test_path,"ANNParser") |
67 | 72 |
|
68 | 73 |
## read remote public dataset stored into GMQL system repository |
69 |
- |
|
74 |
+## If public dataset a prefix "public." is needed before dataset name |
|
70 | 75 |
r2 = read_dataset("public.HG19_TCGA_dnaseq",is_local = FALSE) |
71 | 76 |
|
72 | 77 |
} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,73 @@ |
1 |
+% Generated by roxygen2: do not edit by hand |
|
2 |
+% Please edit documentation in R/Read.R |
|
3 |
+\name{read} |
|
4 |
+\alias{read} |
|
5 |
+\alias{read_dataset} |
|
6 |
+\alias{read} |
|
7 |
+\title{GMQL Function: READ} |
|
8 |
+\usage{ |
|
9 |
+read_dataset(dataset, parser = "CustomParser", is_local = TRUE, |
|
10 |
+ is_GMQL = TRUE) |
|
11 |
+ |
|
12 |
+read(samples) |
|
13 |
+} |
|
14 |
+\arguments{ |
|
15 |
+\item{dataset}{folder path for GMQL dataset or datasetname on repository} |
|
16 |
+ |
|
17 |
+\item{parser}{string used to parsing dataset files |
|
18 |
+The Parser's available are: |
|
19 |
+\itemize{ |
|
20 |
+\item{BedParser} |
|
21 |
+\item{ANNParser} |
|
22 |
+\item{BroadProjParser} |
|
23 |
+\item{BedParser} |
|
24 |
+\item{NarrowPeakParser} |
|
25 |
+\item{RnaSeqParser} |
|
26 |
+\item{CustomParser.} |
|
27 |
+} |
|
28 |
+Default is CustomParser.} |
|
29 |
+ |
|
30 |
+\item{is_local}{logical value indicating local or remote dataset} |
|
31 |
+ |
|
32 |
+\item{is_GMQL}{logical value indicating if is a GMQL dataset or not} |
|
33 |
+ |
|
34 |
+\item{samples}{GrangesList} |
|
35 |
+} |
|
36 |
+\value{ |
|
37 |
+DataSet class object. It contains the value to use as input |
|
38 |
+for the subsequent GMQL function |
|
39 |
+} |
|
40 |
+\description{ |
|
41 |
+Read a GMQL dataset or any other folder containig some homogenus sample |
|
42 |
+from disk, saving in Scala memory that can be referenced in R |
|
43 |
+Also used to read a repository dataset in case of remote processing. |
|
44 |
+ |
|
45 |
+Read a GrangesList saving in scala memory that can be referenced in R |
|
46 |
+} |
|
47 |
+\details{ |
|
48 |
+Normally a GMQL dataset contains an XML schema file that contains |
|
49 |
+name of column header. (e.g chr, start, stop, strand) |
|
50 |
+The CustomParser read this XML schema; |
|
51 |
+if you already know what kind of schema your files are, use one of the |
|
52 |
+parser defined without reading any XML schema |
|
53 |
+} |
|
54 |
+\examples{ |
|
55 |
+ |
|
56 |
+## read local dataset with CustomParser |
|
57 |
+init_gmql() |
|
58 |
+test_path <- system.file("example", "DATASET", package = "RGMQL") |
|
59 |
+r = read_dataset(test_path) |
|
60 |
+ |
|
61 |
+\dontrun{ |
|
62 |
+ |
|
63 |
+## read local dataset with other Parser |
|
64 |
+init_gmql() |
|
65 |
+test_path <- system.file("example", "DATASET", package = "RGMQL") |
|
66 |
+r = read_dataset(test_path,"ANNParser") |
|
67 |
+ |
|
68 |
+## read remote public dataset stored into GMQL system repository |
|
69 |
+ |
|
70 |
+r2 = read_dataset("public.HG19_TCGA_dnaseq",is_local = FALSE) |
|
71 |
+ |
|
72 |
+} |
|
73 |
+} |