title
ModDNAStringSetList(..., use.names = TRUE)
ModRNAStringSetList(..., use.names = TRUE)
ModStringSet
objects of one type.
TRUE
(default) or FALSE
: Whether names of the
input ModStringSet
objects should be stored and used as the element
names in the ModStringSetList
.
a ModStringSetList
object.
mrseq <- c("ACGU7","ACGU7","ACGU7","ACGU7")
mrseq
#> [1] "ACGU7" "ACGU7" "ACGU7" "ACGU7"
# Example: contruction of ModStringSetlist from ModString objects
mr <- ModRNAString("ACGU7")
mr
#> 5-letter ModRNAString object
#> seq: ACGU7
mrs <- ModRNAStringSet(list(mr,mr,mr,mr))
mrs
#> A ModRNAStringSet instance of length 4
#> width seq
#> [1] 5 ACGU7
#> [2] 5 ACGU7
#> [3] 5 ACGU7
#> [4] 5 ACGU7
mrsl <- ModRNAStringSetList(mrs,mrs)
mrsl
#> ModRNAStringSetList of length 2
#> [[1]] ACGU7 ACGU7 ACGU7 ACGU7
#> [[2]] ACGU7 ACGU7 ACGU7 ACGU7
# Example: construction of ModStringSetlist from mixed sources
mrsl2 <- ModRNAStringSetList(mrs,mrseq)
mrsl2
#> ModRNAStringSetList of length 2
#> [[1]] ACGU7 ACGU7 ACGU7 ACGU7
#> [[2]] ACGU7 ACGU7 ACGU7 ACGU7