revcomp: calculate reverse complement of RNA or DNA

Description Usage Arguments

View source: R/seqTools.R

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

1
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 Nov. 9, 2018, 5:38 p.m.