Skip to contents

For each peak, calculate:

  1. cov: The total number of UMIs in the peak

  2. max_cov: The maximal per-cell coverage of the peak

  3. len: The length of the peak

  4. cov_density: The number of UMIs the number of UMIs per scale bp.

Usage

get_peak_coverage_stats(atac, scale = 100)

Arguments

atac

an ScPeaks or McPeaks object

scale

for the 'cov_density' field, calculate the number of UMIs per scale bp (default: 100)

Value

a data frame with peaks, and their length ('len'), their total coverage ('cov'), maximal per-cell coverage ('max_cov') and their coverage density ('cov_density')

Examples

if (FALSE) {
get_peak_coverage_stats(atac)
}