Skip to contents

genetic sequence generator

Super class

charlatan::BareProvider -> SequenceProvider

Examples

z <- SequenceProvider$new()
z$render()
#> [1] "GAGAGCTANGNGTGCCAAANAGTGGACNTN"
z$render(10)
#> [1] "AAGTNNGCNN"
z$render(100)
#> [1] "NCGGGCCANGGACAATATNCGNANCTCNAAACNNCNAGAGCGNANGGNCNAGGTTNNGTNACCTTGANGCGAGNATTANGCTTGGAGNCGGNGNGGTCNC"
# or even z$render(500)