estimateCellDensityKde: Estimate cell density in giving embedding, density will be...

View source: R/cell_density.R

estimateCellDensityKdeR Documentation

Estimate cell density in giving embedding, density will be estimated for individual samples

Description

Estimate cell density in giving embedding, density will be estimated for individual samples

Usage

estimateCellDensityKde(
  emb,
  sample.per.cell,
  sample.groups,
  bins,
  bandwidth = 0.05,
  expansion.mult = 0.05
)

Arguments

emb

cell embedding matrix

sample.per.cell

Named sample factor with cell names (default: stored vector)

sample.groups

A two-level factor on the sample names describing the conditions being compared (default: stored vector)

bins

number of bins for density estimation, default 400


kharchenkolab/cacoa documentation built on Nov. 8, 2024, 6:06 a.m.