By Coghlan (2011) A little book of R for bioinformatics. https://a-little-book-of-r-for-bioinformatics.readthedocs.io/en/latest/.

generate_markov_seq(transitionmatrix, initialprobs, seqlength)

Arguments

transitionmatrix

transitionmatrix

initialprobs

initialprobs

seqlength

Length of sequence to generate.