powered by
This function generates unique identifiers for variants
chr_pos_a1_a2( chr, pos, a1, a2, prefix = "chr", seps = c(":", "_", "_"), uppercase = TRUE )
Identifier.
Chromosome.
Position.
Allele 1.
Allele 2.
Prefix of the identifier.
Delimiters.
A flag to return in upper case.
# rs12075 chr_pos_a1_a2(1,159175354,"A","G",prefix="chr",seps=c(":","_","_"),uppercase=TRUE)
Run the code above in your browser using DataLab