| gseq.revcomp | R Documentation |
Alias for grevcomp. Takes a DNA sequence string and returns its reverse complement.
gseq.revcomp(seq)
seq |
A character vector containing DNA sequences (using A,C,G,T). Ignores other characters and NA values. |
A character vector of the same length as the input, containing the reverse complement sequences
grevcomp, gseq.rev, gseq.comp
gseq.revcomp("ACTG") # Returns "CAGT"
gseq.revcomp(c("ACTG", "GGCC")) # Returns c("CAGT", "GGCC")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.