View source: R/granges_utils.R
readsToFragmentMidpoints | R Documentation |
Compute the midpoints of a collection of read fragments
readsToFragmentMidpoints(reads, fraglen, extend_fragment_upstream = FALSE)
reads |
A GenomicAlignments::GAlignments, GenomicAlignments::GAlignmentPairs, or GenomicAlignments::GAlignmentsList object representing a set of reads or read pairs. |
fraglen |
The estimated fragment length. This is only required
if |
extend_fragment_upstream |
If FALSE (the default), each
single-end read is assumed to represent the 5-prime end of a
fragment, so the fragment will be extended This should really be an S4 method, but writing S4 methods is a pain. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.