Description Usage Arguments Value Author(s) Examples
This function takes in input a (list of) VCF file name(s), reads and process them by setting UCSC style and allowed chromosome names.
1 | readVcfFiles(vcfFiles, assembly)
|
vcfFiles |
list of one or more |
assembly |
human genome assembly: hg19 or hg38 |
a (list of) CollapsedVCF
object(s) containing variants
Laura Fancello
1 2 3 4 5 6 7 8 9 10 11 | # Read in input name of vcf files (provide them as a list even if you only have
# one file)
vcf_files <- list(Horizon5="Horizon5_ExamplePanel.vcf",
HorizonFFPEmild="HorizonFFPEmild_ExamplePanel.vcf")
# For each vcf file, get the absolute path
vcf_files <- lapply(vcf_files,
function(x) system.file("extdata", x, package = "TMBleR", mustWork = TRUE))
# Read in the files
vcfs <- readVcfFiles(vcfFiles = vcf_files, assembly = "hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.