powered by
This function obtains information embedded in unique identifiers.
inv_chr_pos_a1_a2(chr_pos_a1_a2, prefix = "chr", seps = c(":", "_", "_"))
A data.frame with the following variables:
chr Chromosome.
pos Position.
a1 Allele 1.
a2 Allele 2.
SNP id.
Prefix of the identifier.
Delimiters of fields.
# rs12075 inv_chr_pos_a1_a2("chr1:159175354_A_G",prefix="chr",seps=c(":","_","_"))
Run the code above in your browser using DataLab