revcomp: calculate reverse complement of RNA or DNA

View source: R/seqTools.R

revcompR Documentation

calculate reverse complement of RNA or DNA

Description

Returns the reverse complement of RNA/DNA bases in an input string. If reverse==FALSE it just reports complementary bases in the same order.

Usage

revcomp(sq, type = "DNA", na = "N", reverse = TRUE)

Arguments

sq

a, RNA or DNA string

type

"RNA" or "DNA"

na

string to use for non-recognized nucleotides

reverse

revert to sequence


raim/segmenTools documentation built on April 25, 2024, 10:14 a.m.