Description Usage Arguments Value Author(s) See Also Examples
The function is used to annotate a variant to its gene. The annotation information is based on the refseq table downloaded from the UCSC genome browser.
1 |
chr |
Chromosome name of the variant, such as 'chr1' or '1'. |
pos |
The location of variant in the Chromosome. |
level |
The annotation level for variants. It can be either "gene" (i.e., including intron region) or "exon" (i.e., without including intron region). |
show.dist |
Logical value. When a position is mapped as inter-gene, whether to show the distances from the two genes. |
ref |
The version of reference genome. |
A vector including gene annotation results.
Qiang Hu
1 | #Pos2Gene("1", "1000000", level="exon", show.dist=TRUE, ref="hg19")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.