read_xena_variants: Read UCSC Xena Variant Format Data as MAF Object

View source: R/read_vcf.R

read_xena_variantsR Documentation

Read UCSC Xena Variant Format Data as MAF Object

Description

Read UCSC Xena Variant Format Data as MAF Object

Usage

read_xena_variants(path)

Arguments

path

a path to variant file.

Value

a MAF object.

Examples


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
}


sigminer documentation built on May 29, 2024, 3:11 a.m.