Skip to contents

This function takes a RNA sequence as input and returns its DNA transcript.

Usage

rna_to_dna(sequence)

Arguments

sequence

A character string representing a RNA sequence.

Value

A character string representing the RNA transcript of the input RNA sequence.

Examples

sequence <- "AUCGAGCUAGCUAGCUAGCUAGCU"
rna_to_dna(sequence)
#> [1] "ATCGAGCTAGCTAGCTAGCTAGCT"
# Returns "ATCGAGCTAGCTAGCTAGCTAGCT"