Description Usage Arguments Details Value Author(s) Examples
read a ucsc table into R
1 2 3 4 5 6 7 8 | query.ucsc(
x,
mirror = "http://hgdownload.soe.ucsc.edu/goldenPath/hg19/database",
download = TRUE,
overwrite.local = FALSE,
columns.keep = NULL,
verbose = TRUE
)
|
x |
a ucsc data table. Include the full path including "txt.gz" extenstion to load from a local file. Note that $HOME/bedr/data will be checked first before downloading. |
mirror |
the ucsc mirror |
download |
should the data be downloaded to $HOME/bedr/data/ |
overwrite.local |
should the local version be overwritten if it exists |
columns.keep |
what columns to load. this can help with very large tables where you only want 'chr,start,end'. defaults to all. you may have to check the sql for the actual column names. |
verbose |
more words |
tables can be found at http://hgdownload.soe.ucsc.edu/goldenPath/hg19/database
A data.frame
Daryl Wagott
1 2 3 4 | ## Not run:
query.ucsc("refGene");
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.