This function obtains information embedded in unique identifiers.
Usage
inv_chr_pos_a1_a2(chr_pos_a1_a2, prefix = "chr", seps = c(":", "_", "_"))Value
A data.frame with the following variables:
chr Chromosome.
pos Position.
a1 Allele 1.
a2 Allele 2.
Examples
# rs12075
inv_chr_pos_a1_a2("chr1:159175354_A_G",prefix="chr",seps=c(":","_","_"))
#> chr pos a1 a2
#> chr1:159175354_A_G chr1 159175354 A G