laneSubsample {chipseq} | R Documentation |
Subsamples data from multiple lanes on a per-chromosome basis.
laneSubsample(lane1, lane2, fudge = 0.05)
lane1, lane2 |
Two lanes of data, each of class
|
fudge |
A numeric fudge factor. For each chromosome, if the
difference in the sizes relative to the size of the first dataset is
less than |
laneSubsample
returns a list similar to its input, but with the
larger dataset subsampled to be similar to the smaller one.
D. Sarkar
data(cstest) ## subsample to compare lanes cstest.sub <- laneSubsample(cstest[[1]], cstest[[2]]) unlist(cstest.sub)