Browse code

update with some news

Simone authored on 21/03/2021 14:34:30
Showing 1 changed files
1 1
old mode 100644
2 2
new mode 100755
Browse code

minor fix

Simone authored on 09/06/2019 11:05:22
Showing 1 changed files
... ...
@@ -2,7 +2,6 @@
2 2
 % Please edit documentation in R/web-services.R
3 3
 \name{compile_query}
4 4
 \alias{compile_query}
5
-\alias{compile_query}
6 5
 \alias{compile_query_fromfile}
7 6
 \title{Compile GMQL query}
8 7
 \usage{
Browse code

minor fix

Simone authored on 16/09/2018 07:19:24
Showing 1 changed files
... ...
@@ -2,6 +2,7 @@
2 2
 % Please edit documentation in R/web-services.R
3 3
 \name{compile_query}
4 4
 \alias{compile_query}
5
+\alias{compile_query}
5 6
 \alias{compile_query_fromfile}
6 7
 \title{Compile GMQL query}
7 8
 \usage{
Browse code

fixed url

Simone authored on 16/08/2018 09:03:55
Showing 1 changed files
... ...
@@ -2,7 +2,6 @@
2 2
 % Please edit documentation in R/web-services.R
3 3
 \name{compile_query}
4 4
 \alias{compile_query}
5
-\alias{compile_query}
6 5
 \alias{compile_query_fromfile}
7 6
 \title{Compile GMQL query}
8 7
 \usage{
... ...
@@ -29,7 +28,7 @@ using the proper GMQL web service available on a remote server
29 28
 
30 29
 ## Login to GMQL REST services suite as guest
31 30
 
32
-remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/"
31
+remote_url = "http://www.gmql.eu/gmql-rest/"
33 32
 login_gmql(remote_url)
34 33
 
35 34
 ## This statement gets the query as text string and runs the compile 
Simone authored on 19/01/2018 11:06:58
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ compile_query_fromfile(url, filePath)
14 14
 \item{url}{string url of server: It must contain the server address 
15 15
 and base url; service name is added automatically}
16 16
 
17
-\item{query}{string text of query}
17
+\item{query}{string text of a GMQL query}
18 18
 
19 19
 \item{filePath}{string path of txt file containing a GMQL query}
20 20
 }
... ...
@@ -32,11 +32,11 @@ using the proper GMQL web service available on a remote server
32 32
 remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/"
33 33
 login_gmql(remote_url)
34 34
 
35
-## This statement get the query as text string and run the compile 
35
+## This statement gets the query as text string and runs the compile 
36 36
 ## web service
37 37
 
38 38
 compile_query(remote_url, "DATASET = SELECT() Example_Dataset_1;
39
-MATERIALIZE DATASET INTO RESULT_DS;")
39
+    MATERIALIZE DATASET INTO RESULT_DS;")
40 40
 
41 41
 
42 42
 ## This statement defines the path to the file "query1.txt" in the 
... ...
@@ -47,7 +47,7 @@ test_path <- system.file("example", package = "RGMQL")
47 47
 test_query <- file.path(test_path, "query1.txt")
48 48
 compile_query_fromfile(remote_url, test_query)
49 49
 
50
-## logout from GMQL REST services suite
50
+## Logout from GMQL REST services suite
51 51
 
52 52
 logout_gmql(remote_url)
53 53
 
Browse code

minor fix

Simone authored on 11/01/2018 13:10:15
Showing 1 changed files
... ...
@@ -14,7 +14,7 @@ compile_query_fromfile(url, filePath)
14 14
 \item{url}{string url of server: It must contain the server address 
15 15
 and base url; service name is added automatically}
16 16
 
17
-\item{query}{string text of the query}
17
+\item{query}{string text of query}
18 18
 
19 19
 \item{filePath}{string path of txt file containing a GMQL query}
20 20
 }
... ...
@@ -38,11 +38,6 @@ login_gmql(remote_url)
38 38
 compile_query(remote_url, "DATASET = SELECT() Example_Dataset_1;
39 39
 MATERIALIZE DATASET INTO RESULT_DS;")
40 40
 
41
-## logout from GMQL REST services suite
42
-
43
-logout_gmql(remote_url)
44
-
45
-\dontrun{
46 41
 
47 42
 ## This statement defines the path to the file "query1.txt" in the 
48 43
 ## subdirectory "example" of the package "RGMQL" and run the compile 
... ...
@@ -51,6 +46,9 @@ logout_gmql(remote_url)
51 46
 test_path <- system.file("example", package = "RGMQL")
52 47
 test_query <- file.path(test_path, "query1.txt")
53 48
 compile_query_fromfile(remote_url, test_query)
54
-}
49
+
50
+## logout from GMQL REST services suite
51
+
52
+logout_gmql(remote_url)
55 53
 
56 54
 }
Browse code

fix and clean

Simone authored on 06/12/2017 17:47:26
Showing 1 changed files
... ...
@@ -16,23 +16,38 @@ and base url; service name is added automatically}
16 16
 
17 17
 \item{query}{string text of the query}
18 18
 
19
-\item{filePath}{string path of txt files containing a GMQL query}
19
+\item{filePath}{string path of txt file containing a GMQL query}
20 20
 }
21 21
 \value{
22 22
 None
23 23
 }
24 24
 \description{
25
-It compiles the GMQL query into repository taken from file or insert as text 
26
-string, using the proper GMQL web service available on a remote server
25
+It compiles a GMQL query taken from file or inserted as text string, 
26
+using the proper GMQL web service available on a remote server
27 27
 }
28 28
 \examples{
29 29
 
30
-remote_url = "http://genomic.elet.polimi.it/gmql-rest-r/"
30
+## Login to GMQL REST services suite as guest
31
+
32
+remote_url = "http://genomic.deib.polimi.it/gmql-rest-r/"
31 33
 login_gmql(remote_url)
32
-compile_query(remote_url, "DATASET = SELECT() HG19_TCGA_dnaseq;
34
+
35
+## This statement get the query as text string and run the compile 
36
+## web service
37
+
38
+compile_query(remote_url, "DATASET = SELECT() Example_Dataset_1;
33 39
 MATERIALIZE DATASET INTO RESULT_DS;")
34 40
 
41
+## logout from GMQL REST services suite
42
+
43
+logout_gmql(remote_url)
44
+
35 45
 \dontrun{
46
+
47
+## This statement defines the path to the file "query1.txt" in the 
48
+## subdirectory "example" of the package "RGMQL" and run the compile 
49
+## web service
50
+
36 51
 test_path <- system.file("example", package = "RGMQL")
37 52
 test_query <- file.path(test_path, "query1.txt")
38 53
 compile_query_fromfile(remote_url, test_query)
Browse code

clean files and folder

Simone authored on 21/11/2017 13:43:55
Showing 1 changed files
... ...
@@ -1,29 +1,41 @@
1 1
 % Generated by roxygen2: do not edit by hand
2
-% Please edit documentation in R/queryOp.R
2
+% Please edit documentation in R/web-services.R
3 3
 \name{compile_query}
4 4
 \alias{compile_query}
5
+\alias{compile_query}
6
+\alias{compile_query_fromfile}
5 7
 \title{Compile GMQL query}
6 8
 \usage{
7 9
 compile_query(url, query)
10
+
11
+compile_query_fromfile(url, filePath)
8 12
 }
9 13
 \arguments{
10 14
 \item{url}{string url of server: It must contain the server address 
11 15
 and base url; service name is added automatically}
12 16
 
13 17
 \item{query}{string text of the query}
18
+
19
+\item{filePath}{string path of txt files containing a GMQL query}
14 20
 }
15 21
 \value{
16 22
 None
17 23
 }
18 24
 \description{
19
-It compiles a GMQL query as single string using the proper GMQL web service 
20
-available on a remote server
25
+It compiles the GMQL query into repository taken from file or insert as text 
26
+string, using the proper GMQL web service available on a remote server
21 27
 }
22 28
 \examples{
23
-remote_url = "http://130.186.13.219/gmql-rest"
24
-\dontrun{
29
+
30
+remote_url = "http://genomic.elet.polimi.it/gmql-rest-r/"
25 31
 login_gmql(remote_url)
26 32
 compile_query(remote_url, "DATASET = SELECT() HG19_TCGA_dnaseq;
27 33
 MATERIALIZE DATASET INTO RESULT_DS;")
34
+
35
+\dontrun{
36
+test_path <- system.file("example", package = "RGMQL")
37
+test_query <- file.path(test_path, "query1.txt")
38
+compile_query_fromfile(remote_url, test_query)
28 39
 }
40
+
29 41
 }
Browse code

map to s4 - start new build

Simone authored on 16/11/2017 10:37:54
Showing 1 changed files
... ...
@@ -20,10 +20,10 @@ It compiles a GMQL query as single string using the proper GMQL web service
20 20
 available on a remote server
21 21
 }
22 22
 \examples{
23
-
24 23
 remote_url = "http://130.186.13.219/gmql-rest"
24
+\dontrun{
25 25
 login_gmql(remote_url)
26 26
 compile_query(remote_url, "DATASET = SELECT() HG19_TCGA_dnaseq;
27 27
 MATERIALIZE DATASET INTO RESULT_DS;")
28
-
28
+}
29 29
 }
Browse code

change function name, completed vignette and descrption

Simone authored on 08/11/2017 13:30:29
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,29 @@
1
+% Generated by roxygen2: do not edit by hand
2
+% Please edit documentation in R/queryOp.R
3
+\name{compile_query}
4
+\alias{compile_query}
5
+\title{Compile GMQL query}
6
+\usage{
7
+compile_query(url, query)
8
+}
9
+\arguments{
10
+\item{url}{string url of server: It must contain the server address 
11
+and base url; service name is added automatically}
12
+
13
+\item{query}{string text of the query}
14
+}
15
+\value{
16
+None
17
+}
18
+\description{
19
+It compiles a GMQL query as single string using the proper GMQL web service 
20
+available on a remote server
21
+}
22
+\examples{
23
+
24
+remote_url = "http://130.186.13.219/gmql-rest"
25
+login_gmql(remote_url)
26
+compile_query(remote_url, "DATASET = SELECT() HG19_TCGA_dnaseq;
27
+MATERIALIZE DATASET INTO RESULT_DS;")
28
+
29
+}