Make an aggregate count cds by collapsing nearby peaks
aggregate_nearby_peaks(cds, distance = 1000)
A CellDataSet (CDS) object. For example, output of
The distance within which peaks should be collapsed
This function takes an input CDS object and collapses features within a given distance by summing the values for the collapsed features. Ranges of features are determined by their feature name, so the feature names must be in the form "chr1:1039013-2309023".
A CDS object with aggregated peaks.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.