| gseq.rev | R Documentation |
Takes a DNA sequence string and returns its reverse (without complementing).
gseq.rev(seq)
seq |
A character vector containing DNA sequences. Preserves case and handles NA values. |
A character vector of the same length as the input, containing the reversed sequences
gseq.revcomp, gseq.comp
gseq.rev("ACTG") # Returns "GTCA"
gseq.rev(c("ACTG", "GGCC")) # Returns c("GTCA", "CCGG")
gseq.rev(c("ACTG", NA, "GGCC")) # Returns c("GTCA", NA, "CCGG")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.