read_xena_variants | R Documentation |
Read UCSC Xena Variant Format Data as MAF Object
read_xena_variants(path)
path |
a path to variant file. |
a MAF
object.
if (requireNamespace("UCSCXenaTools")) {
library(UCSCXenaTools)
options(use_hiplot = TRUE)
example_file <- XenaGenerate(subset = XenaDatasets == "mc3/ACC_mc3.txt") %>%
XenaQuery() %>%
XenaDownload()
x <- read_xena_variants(example_file$destfiles)
x@data
y <- sig_tally(x)
y
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.