Skip to contents

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

Usage

dna_to_rna(sequence)

Arguments

sequence

A character string representing a DNA sequence.

Value

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

Examples

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