Browse code

minor fix conversion

Simone authored on 19/02/2018 18:29:10
Showing 2 changed files

... ...
@@ -256,7 +256,9 @@ gmql_take <- function(input_data, rows)
256 256
     sampleList <- lapply(list, function(x){
257 257
         x <- x[-1]
258 258
         names(x) <- seq_name
259
-        x$start = x$start +1
259
+        start_numeric = as.numeric(levels(x$start))[x$start]
260
+        start_numeric = start_numeric + 1
261
+        levels(x$start)[x$start] = start_numeric
260 262
         g <- GenomicRanges::makeGRangesFromDataFrame(x,
261 263
                                     keep.extra.columns = TRUE,
262 264
                                     start.field = "start",
... ...
@@ -14,7 +14,8 @@ files. It can be TAB, GTF or COLLECT:
14 14
 \item{TAB: tab-delimited file format}
15 15
 \item{GTF: tab-delimited text standard format based on the General 
16 16
 Feature Format}
17
-\item{COLLECT: used for storing output in memory}
17
+\item{COLLECT: used for storing output in memory (only in the case of local 
18
+processing, i.e., remote_processing = FALSE,)}
18 19
 }}
19 20
 
20 21
 \item{remote_processing}{logical value specifying the processing mode.
... ...
@@ -26,9 +27,9 @@ If NULL, no login is performed.
26 27
 You can always perform it by calling the function \code{\link{login_gmql}} 
27 28
 explicitly}
28 29
 
29
-\item{username}{string name used during signup}
30
+\item{username}{string name used during remote server signup}
30 31
 
31
-\item{password}{string password used during signup}
32
+\item{password}{string password used during remote server signup}
32 33
 }
33 34
 \value{
34 35
 None