clusterings.compare: Compare and visualze multiple clustering assignments

Description Usage Arguments Details Value

View source: R/celltype.R

Description

Compare and visualze multiple clustering assignments

Usage

1
2
clusterings.compare(m, consistency.thresh = 0.5, do.plot = T,
  show.cell = FALSE, bar.width = 1, font.size = 12)

Arguments

m

The data.frame encoding different clustering results. Rows are cells, Columns are clustering results. Column names denote different clustering assignments.

consistency.thresh

For a cell, if less than consistency.thresh percent of its neighbors in clustering A remains in clustering B, the instability of the clustering assignment of the cell will increase

show.cell

If TRUE, show cell names in the plot

bar.width

The width of bar

font.size

The font size of text in the plot

Details

The similarity between two clustering assignments is measured based on the metric proposed in Torres et al., International Journal of Electrical, Computer & Systems Engineer, 2009.

Value

The data frame containing cell clustering assignments and instability scores


minzheguo/SINCERA documentation built on Feb. 3, 2021, 2:31 p.m.