rna()
build a RNA vector from a character vector.
rna(...)
characters to turn into RNA. Can be a set of name-value pairs.
a vector of class bioseq_rna
rna("AGGUGC", "UUCGA")
#> RNA vector of 2 sequences
#> > AGGUGC
#> > UUCGA
rna(Seq_1 = "AGGUGC", Seq_2 = "UUCGA")
#> RNA vector of 2 sequences
#> Seq_1 AGGUGC
#> Seq_2 UUCGA
x <- c("AGGTGC", "TTCGA")
rna(x)
#> Warning: Non-standard IUPAC symbols detected for RNA: 3 characters were converted to N.
#> RNA vector of 2 sequences
#> > AGGNGC
#> > NNCGA