calcDensity: Calculate the Density of Feature

View source: R/models.R

calcDensityR Documentation

Calculate the Density of Feature

Description

Calculate the density of an input feature.

Usage

calcDensity(x, breaks, drop0 = FALSE)

Arguments

breaks

A vector giving the breakpoints between histogram cells. See details hist.

drop0

Whether to drop all the zeros. Default is FALSE.

Value

Returns the density.


stevexniu/scMatchmaker documentation built on June 2, 2022, 12:35 p.m.