dot-filterLocMin: .filterLocMin

Description Usage Arguments Details Value See Also

Description

Function to filter knn by overall distance density distribution.

Usage

1
.filterLocMin(knn_cell, k_min)

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.

k_min

Numeric. Minimum number of Knn to include.

Details

Internal function to filter cells used for cms testing to come from a continous overall density distribution function (similar to cluster definitions). 'filterLocMin' is only applied, if k-min is specified as parameter in .cmsCell or cms.

Value

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

See Also

.cmsCell

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


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