View source: R/deltaCaptureC.R
getOverlapWeights | R Documentation |
This function takes two GRanges, one representing a set of bins and the other representing data to be pro-rated over those bins and returns a data frame giving the overlaps, various widths and the fractions for pro-rating scores
getOverlapWeights(bins, gr, checkDisjoint = FALSE)
bins |
a set of GRanges to be used for binning data. |
gr |
the GRanges of the data to be binned |
checkDisjoint |
= FALSE if this is TRUE it will check to see that the ranges in each of bins and gr are disjoint |
A data frame giving index pairs for the intersections, widths of the intersections and the fraction of each gr range meeting each bin
overlapWeights = getOverlapWeights(weightsExampleBins,weightsExampleGr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.