View source: R/shuffle_motifs.R
shuffle_motifs | R Documentation |
Given a set of motifs, shuffle the columns to create new motifs. Currently does not
support keeping the 'multifreq' slot. Only the 'bkg', 'nsites', 'strand',
and 'bkgsites' slots will be preserved. Uses the same shuffling methods
as shuffle_sequences()
. When shuffling more than one motif, all motif
columns are merged into a single pool and shuffled together, finally returning
them as motifs of identical lengths as the input motifs.
To instead shuffle motifs individually, call shuffle_motifs()
using lapply()
.
shuffle_motifs(motifs, k = 2, method = "linear")
motifs |
See |
k |
|
method |
|
Motifs. See convert_motifs()
for available output
formats.
Benjamin Jean-Marie Tremblay, benjamin.tremblay@uwaterloo.ca
shuffle_sequences()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.