dot-filterKnn: .filterKnn

.filterKnnR Documentation

.filterKnn

Description

.filterKnn

Usage

.filterKnn(knn_cell, batch_min, group, sce)

Arguments

knn_cell

Data frame with one column "distance" and one column named by the group variable. Rows correspond to the knn cells and do not need rownames.

batch_min

Numeric. Minimum number of cells per batch to include.

group

Character. Name of group/batch variable. Needs to be one of names(knn).

sce

A SingleCellExperiment object with the combined data.

Value

data.frame with two columns (index, distance) for filtered knn cells.

See Also

.cmsCell

Other helper functions: .cmsCell(), .defineSubspace(), .filterLocMin(), .ldfKnn(), .smoothCms()


almutlue/CellMixS documentation built on Sept. 8, 2024, 12:45 p.m.