View source: R/vcfToSNVcatalogue.R
vcfToSNVcatalogue | R Documentation |
Convert a vcf file containing SNV to SNV 96 channel trinuclotide context catalogue. The VCF file should containt the SNV of a single sample.
vcfToSNVcatalogue(vcfFilename, genome.v = "hg19")
vcfFilename |
path to input VCF (file must be tabix indexed) |
genome.v |
either "hg38" (will load BSgenome.Hsapiens.UCSC.hg38), "hg19" (will load BSgenome.Hsapiens.1000genomes.hs37d5), mm10 (will load BSgenome.Mmusculus.UCSC.mm10::BSgenome.Mmusculus.UCSC.mm10) or canFam3 (will load BSgenome.Cfamiliaris.UCSC.canFam3::BSgenome.Cfamiliaris.UCSC.canFam3) |
returns the SNV catalogue for the given sample
file_subs <- "subs.vcf"
res <- vcfToSNVcatalogue(file_subs,genome.v = "hg38")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.