Description Usage Arguments Value Examples
Convert each sequence in a DNAStringSet to a "fragment" (subsequence)
1 | generate_fragments(tObj, fraglen, fragsd = 25)
|
tObj |
DNAStringSet of sequences from which fragments should be extracted |
fraglen |
Mean fragment length. |
fragsd |
Standard deviation of fragment length. Fragment lengths are
drawn from a normal
distribution with mean |
DNAStringSet consisting of one randomly selected subsequence per
element of tObj
.
1 2 3 4 5 6 | library(Biostrings)
data(srPhiX174)
set.seed(174)
srPhiX174_fragments = generate_fragments(srPhiX174, fraglen=15, fragsd=3)
srPhiX174_fragments
srPhiX174
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.