powered by
This function takes a DNA sequence as input and returns its RNA transcript.
dna_to_rna(sequence)
A character string representing the RNA transcript of the input DNA sequence.
A character string representing a DNA sequence.
sequence <- "ATCGAGCTAGCTAGCTAGCTAGCT" dna_to_rna(sequence) # Returns "AUCGAGCUAGCUAGCUAGCUAGCU"
Run the code above in your browser using DataLab