computeCellHomogeneity: Compute cell homogeneity

View source: R/CellWalkerFunctions.R

computeCellHomogeneityR Documentation

Compute cell homogeneity

Description

computeCellHomogeneity() computes the median influence between cells of the same type compared to cells of other types. This serves as a proxy for for how well cells are labeled and can be used to tune parameters such as label edge weight

Usage

computeCellHomogeneity(cellWalk, cellTypes)

Arguments

cellWalk

a cellWalk object

cellTypes

list of names of cell types, if not provided unique labels are used

Value

cell homogeneity

Examples

data("SampleCellWalkRData")
computeCellHomogeneity(SampleCellWalkRData$cellWalk)


PFPrzytycki/CellWalkR documentation built on Oct. 26, 2023, 1:50 p.m.