powered by
Flip single base pair DNA alleles to their reverse complement. INDEL flipping is not supported.
flip.DNA.allele(alleles, return.indels.as.missing = FALSE)
A character vector of flipped DNA alleles. INDEL alleles are returned as is unless return.indels.as.missing is TRUE.
return.indels.as.missing
TRUE
A character vector of DNA alleles.
A logical value indicating whether to return NA for INDEL alleles. Default is FALSE.
FALSE
alleles <- c('A', 'T', 'C', 'G', 'ATG', NA); flip.DNA.allele(alleles);
Run the code above in your browser using DataLab