subsample {chromstaR} | R Documentation |
Normalize read counts to a given read depth. Reads counts are randomly removed from the input to match the specified read depth.
subsample(binned.data, sample.reads)
binned.data |
A |
sample.reads |
The number of reads that will be retained. |
A GRanges-class
object with downsampled read counts.
Aaron Taudt