chr_pos_a1_a2 | R Documentation |
SNP id by chr:pos+a1/a2
chr_pos_a1_a2(
chr,
pos,
a1,
a2,
prefix = "chr",
seps = c(":", "_", "_"),
uppercase = TRUE
)
chr |
Chromosome. |
pos |
Position. |
a1 |
Allele 1. |
a2 |
Allele 2. |
prefix |
Prefix of the identifier. |
seps |
Delimiters. |
uppercase |
A flag to return in upper case. |
This function generates unique identifiers for variants
Identifier.
# rs12075
chr_pos_a1_a2(1,159175354,"A","G",prefix="chr",seps=c(":","_","_"),uppercase=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.