validate_motifs: function validates if given motifs can be injected to a...

Description Usage Arguments Value Examples

View source: R/generate_sequences.R

Description

function validates if given motifs can be injected to a sequence of given length

Usage

1
validate_motifs(motifs, sequence_length)

Arguments

motifs

list of motifs we are checking

sequence_length

length of sequence we want to inject

Value

logical value if such injection is possible

Examples

1
2
3
4
set.seed(42)
motifs <- generate_motifs(1:4, 3, d = 3)
validate_motifs(motifs, 7)
validate_motifs(motifs, 9)

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