Description Usage Arguments Value References See Also Examples
Create a single HGVS ID for a variant from chromosome, position, reference and alternate alleles.
1 | formatSingleHgvs(chrom, pos, ref, alt, mutant_type=FALSE)
|
chrom |
Chromosome. |
pos |
Position of the variant on the reference genome (hg19). |
ref |
Reference allele. |
alt |
Alternate allele. |
mutant_type |
Logical indicating whether to return the type of mutation along with the HGVS ID. |
returns a string
https://myvariant.info http://www.hgvs.org/mutnomen/recs-DNA.html
1 2 | ## return HGVS ID for a variant
formatSingleHgvs(1, 35367, "G", "A")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.