Learn R Programming

baseq (version 0.1.4)

dna_to_rna: Transcription of a DNA sequence

Description

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

Usage

dna_to_rna(sequence)

Value

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

Arguments

sequence

A character string representing a DNA sequence.

Examples

Run this code
sequence <- "ATCGAGCTAGCTAGCTAGCTAGCT"
dna_to_rna(sequence)
# Returns "AUCGAGCUAGCUAGCUAGCUAGCU"

Run the code above in your browser using DataLab