generate_single_motif: function generates motif from an alphabet TODO: motif length...

Description Usage Arguments Value Examples

View source: R/generate_sequences.R

Description

function generates motif from an alphabet TODO: motif length control

Usage

1
generate_single_motif(alphabet, n = 4, d = 6, motifProbs = NULL)

Arguments

alphabet

elements used to build motif

n

number of elements from alphabet

d

total sum of gaps

motifProbs

alphabet probabilites for motifs

Value

motif based on given alphabet

Examples

1
2
3
generate_single_motif(1:4)
generate_single_motif(c("a", "b", "c"))
generate_single_motif(1:4, n = 6, d = 2, motifProbs = c(0.7, 0.1, 0.1, 0.1))

jakubkala/QuiPTsim documentation built on Jan. 17, 2022, 11:27 p.m.