XenaPrepare {UCSCXenaTools} | R Documentation |
Prepare (Load) Downloaded Datasets to R
Description
Prepare (Load) Downloaded Datasets to R
Usage
XenaPrepare(
objects,
objectsName = NULL,
use_chunk = FALSE,
chunk_size = 100,
subset_rows = TRUE,
select_cols = TRUE,
callback = NULL,
comment = "#",
na = c("", "NA", "[Discrepancy]"),
...
)
Arguments
objects |
a object of character vector or data.frame. If |
objectsName |
specify names for elements of return object, i.e. names of list |
use_chunk |
default is |
chunk_size |
the number of rows to include in each chunk |
subset_rows |
logical expression indicating elements or rows to keep:
missing values are taken as false. |
select_cols |
expression, indicating columns to select from a data frame.
'x' can be a representation of data frame you wanna do subset operation,
e.g. |
callback |
a function to call on each chunk, default is |
comment |
a character specify comment rows in files |
na |
a character vectory specify |
... |
other arguments transfer to |
Value
a list contains file data, which in way of tibbles
Author(s)
Shixiang Wang w_shixiang@163.com
Examples
## Not run:
xe = XenaGenerate(subset = XenaHostNames == "tcgaHub")
hosts(xe)
xe_query = XenaQuery(xe)
xe_download = XenaDownload(xe_query)
dat = XenaPrepare(xe_download)
## End(Not run)