rev_complement: Reverse and complement sequences

rev_complementR Documentation

Reverse and complement sequences

Description

Reverse and complement sequences

Usage

seq_complement(x)

seq_reverse(x)

Arguments

x

a DNA or RNA vector. Function seq_reverse also accepts AA vectors.

Value

A reverse or complement sequence (same class as the input).

See Also

Other biological operations: seq_rev_translate(), seq_translate(), transcription

Examples

x <- dna("ACTTTGGCTAAG")
seq_reverse(x)
seq_complement(x)


bioseq documentation built on Sept. 6, 2022, 5:07 p.m.