Description Usage Arguments Value
This method accesses the NCI's API and queries a position (CHR & POS) and variant (REF & ALT) to obtain a rsid. If it fails, it will attempt to swap REF and ALT before giving up.
1 2 3 4 5 6 7 8 | get_cached_rsid_from_position(
chrom,
pos,
ref,
alt,
assembly = valid_references,
cache = NULL
)
|
chrom |
The name of the contig for the SNP |
pos |
The (1-based) position of the SNP |
ref |
The reference allele (only SNPs are supported) |
alt |
The alternate allele (only SNPs are supported) |
assembly |
Which reference genome to use ("hg18", "hg19", or "hg38") |
an rsid identifier of the position provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.