rna_reverse_complement: Generate Reverse Complement of DNA sequence

View source: R/rna_reverse_complement.R

rna_reverse_complementR Documentation

Generate Reverse Complement of DNA sequence

Description

Given a DNA sequence, the function generates the reverse complement of the sequence and returns it.

Usage

rna_reverse_complement(sequence)

Arguments

sequence

A character string containing the DNA sequence to be reversed and complemented

Value

A character string containing the reverse complement of the input DNA sequence

Examples

sequence <- "AUCGAGCUAGCUAGCUAGCUAGCU"
rna_reverse_complement(sequence)
# [1] "AGCUAGCUAGCUAGCUAGCUCGAU"

ambu-vijayan/baseq documentation built on May 6, 2023, 10:31 p.m.