[1] "DNA"
[1] "RNA"
[1] "UNKNOWN"
[1] "RNA"
[1] "RNA"
Making choices dna or rna iteration (solution)
Exercise
Output solution
- Use the function and a
for
loop
- Use the function and
sapply
ttgaatgccttacaactgatcattacacaggcggcatgaagcaaaaatatactgtgaaccaatgcaggcg
"DNA"
gauuauuccccacaaagggagugggauuaggagcugcaucauuuacaagagcagaauguuucaaaugcau
"RNA"
gaaagcaagaaaaggcaggcgaggaagggaagaagggggggaaacc
"UNKNOWN"
guuuccuacaguauuugaugagaaugagaguuuacuccuggaagauaauauuagaauguuuacaacugcaccugaucagguggauaaggaagaugaagacu
"RNA"
gauaaggaagaugaagacuuucaggaaucuaauaaaaugcacuccaugaauggauucauguaugggaaucagccggguc
"RNA"