Description Usage Arguments Value Examples
Get genome annotations for variants called in one or more VCF files. Each sample is called separately so that variants on the same codon are handled properly. This is a convenience function which calls OutputVarprocodingseq, OutputVarproseq, Outputaberrant, and OutputNovelJun.
1 2 | getVariantAnnotation(vcfFilepaths, ids, exon_anno, proteinseq, procodingseq,
dbsnpinCoding = NULL, cosmic = NULL)
|
vcfFilepaths |
one or more VCF files to create variant proteins |
ids |
a dataframe mapping between gene/transcript/protein ids |
exon_anno |
a dataframe of exon annotations for each protein coding transcript |
proteinseq |
a dataframe of reference amino acid sequences for each protein |
procodingseq |
a dataframe of reference coding sequences for each protein coding transcript |
dbsnpinCoding |
a GRanges object of dbSNP variants to include in the output tables; default is NULL |
cosmic |
a GRanges object of COSMIC variants to include in the output tables; default is NULL |
A list of annotation tables with named members:
describes the SNP variants and their coding consequences
the CDS sequences for the variant proteins from SNPs
the translated sequences for the variant proteins from SNPs
the CDS sequences for the variant proteins from INDELs
the translated sequences for the variant proteins from INDELs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | load(system.file("extdata/refseq", "exon_anno.RData", package="customProDB"))
load(system.file("extdata/refseq", "ids.RData", package="customProDB"))
load(system.file("extdata/refseq", "procodingseq.RData", package="customProDB"))
load(system.file("extdata/refseq", "proseq.RData", package="customProDB"))
load(system.file("extdata/refseq", "dbsnpinCoding.RData", package="customProDB"))
load(system.file("extdata/refseq", "cosmic.RData", package="customProDB"))
vcfFilepath = system.file("extdata/vcfs", "test1.vcf", package="customProDB")
variantAnnotation = getVariantAnnotation(vcfFilepath, ids, exon,
proteinseq, procodingseq,
dbsnpinCoding, cosmic)
head(variantAnnotation$variantTable)
head(variantAnnotation$snvprocoding)
head(variantAnnotation$snvproseq)
head(variantAnnotation$indelprocoding)
head(variantAnnotation$indelproseq)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.