aggregate_nearby_peaks | R Documentation |
Make an aggregate count cds by collapsing nearby peaks
aggregate_nearby_peaks(cds, distance = 1000)
cds |
A CellDataSet (CDS) object. For example, output of
|
distance |
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.
data("cicero_data") input_cds <- make_atac_cds(cicero_data, binarize = TRUE) agg_cds <- aggregate_nearby_peaks(input_cds, distance = 10000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.