Creates a symbolic pool of RNA-like molecules from a supplied alphabet. This is an educational helper used by the simulation functions; it is not intended to represent chemically realistic reaction pathways.
create_prebiotic_pool(
n_molecules = 100,
alphabet = c("A", "U", "G", "C"),
min_length = 5,
max_length = 20,
seed = NULL
)A character vector of symbolic molecular sequences.
pool <- create_prebiotic_pool(n_molecules = 10, seed = 1)
pool
#> [1] "CGAUAGGUUGGAA" "UUUUGAGAA" "AUAAUUUACGACG" "UUUGCCCUCA"
#> [5] "UACCAGCUUGG" "UCCUUAUUUUAGGC" "GGCUCGGACA" "ACAGUCGAACUA"
#> [9] "CCAAAGUAAGGGUUUC" "CUUCGGCGAUUAGGU"