smoothed_fraction: function to calculate the fraction smoothed over nearest...

Description Usage Arguments

View source: R/updates.R

Description

function to calculate the fraction smoothed over nearest neighbors

Usage

1
smoothed_fraction(counts, marker, selection, nn_subset, gamma)

Arguments

counts

sparse matrix, containing counts (cols = cells, genes = rows)

marker

string, selected marker gene

selection

logical array, used to subset cells belonging to the selected sample

nn_subset

list, nearest neighbor indices and distances for cells in the sample

gamma

numeric, gamma-correction factor


anders-biostat/lcsc documentation built on Dec. 19, 2021, 2:34 a.m.