XenaPrepare: Prepare (Load) datasets to R download from UCSC Xena
Description
Prepare (Load) datasets to R download from UCSC Xena
Usage
XenaPrepare(objects, objectsName = NULL, comment = "#", na = c("",
"NA", "[Discrepancy]"), ...)
Arguments
objects
a object of character vector or data.frame. If objects
is data.frame,
it should be returned object of XenaDownload
function. More easier way is
that objects can be character vector specify local files/directory and download urls.
objectsName
specify objectsName of result
comment
a character specify comment rows in files
na
a character vectory specify NA
values in files
...
other arguments transfer to read_tsv
function of readr
package
Value
a list contains file data, which in way of tibbles
Examples
Run this code# NOT RUN {
xe = XenaGenerate(subset = XenaHostNames == "TCGA")
hosts(xe)
xe_query = XenaQuery(xe)
# }
# NOT RUN {
xe_download = XenaDownload(xe_query)
dat = XenaPrepare(xe_download)
# }
Run the code above in your browser using DataLab