forked from benjjneb/dada2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrc.Rd
32 lines (31 loc) · 927 Bytes
/
rc.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/misc.R
\name{rc}
\alias{rc}
\title{Reverse complement DNA sequences.}
\usage{
rc(sq)
}
\arguments{
\item{sq}{(Required). \code{character}. The DNA sequence(s) to reverse-complement.
\code{\link[Biostrings]{DNAString}}, or \code{\link[Biostrings]{DNAStringSet}} formats
are also accepted.}
}
\value{
\code{character}. The reverse-complemented DNA sequence(s).
}
\description{
This function reverse complements DNA sequence(s) provided.
This function is nothing more than a concisely-named convenience wrapper for
\code{\link[Biostrings]{reverseComplement}} that handles the \code{character} vector
DNA sequences generated in the the dada2 package.
}
\examples{
R1492 <- "RGYTACCTTGTTACGACTT"
rc(R1492)
sqs <- getSequences(system.file("extdata", "example_seqs.fa", package="dada2"))
rc(sqs)
}
\seealso{
\code{\link[Biostrings]{reverseComplement}}
}