shuffle | R Documentation |
Uses the uShuffle library to shuffle reads
shuffle(reads, k = 2, n = 2)
reads |
An object of BStringSet. |
k |
the k-let size. |
n |
the number of random sequences to generate. |
An object of BStringSet.
Jiang, M., Anderson, J., Gillespie, J. et al. uShuffle: A useful tool for shuffling biological sequences while preserving the k-let counts. BMC Bioinformatics 9, 192 (2008). https://doi.org/10.1186/1471-2105-9-192
library(Biostrings)
f <- DNAStringSet(c("CTC-NACCAGTAT", "TTGA", "TACCTAGAG"))
shuffle(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.