dot-filterKnn: .filterKnn

Description Usage Arguments Value See Also

Description

.filterKnn

Usage

1
.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()


CellMixS documentation built on Dec. 19, 2020, 2 a.m.