Description Usage Arguments Value References See Also Examples
Read in a Vcf object created by readVcf
to extract all HGVS IDs for querying MyVariant.info.
1 | formatHgvs(vcf, variant_type = c("snp", "insertion", "deletion"))
|
vcf |
Vcf object created by |
variant_type |
Type of variant HGVS IDs to retrieve from Vcf object. Default c("snp", "insertion", "deletion") |
vector
https://myvariant.info http://www.hgvs.org/mutnomen/recs-DNA.html
1 2 3 4 | ## return HGVS IDs for all snps in a Vcf
file.path <- system.file("extdata", "dbsnp_mini.vcf", package="myvariant")
vcf <- readVcf(file.path, genome="hg19")
hgvs <- formatHgvs(vcf, variant_type="snp")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.