reverse_complement: Get the Reverse Complement of a DNA Sequence

View source: R/reverse_complement.R

reverse_complementR Documentation

Get the Reverse Complement of a DNA Sequence

Description

Gets the reverse complement of a DNA sequence. Ambiguous nucleotides are supported.

Usage

reverse_complement(sequence)

Arguments

sequence

A string specifying the DNA sequence. Can contain ambiguous nucleotides.

Value

A string of the reverse complement of the DNA sequence.

Examples

reverse_complement(sequence="TTCTCCASCCGCGGATHTTG")

LocaTT documentation built on Nov. 2, 2023, 6:09 p.m.