compute_purity

compute_purity(x, ...)

# S3 method for SingleCellExperiment
compute_purity(x, ...)

# S3 method for DataFrame
compute_purity(x, ...)

# S3 method for data.frame
compute_purity(x, col.x, col.y, ...)

Arguments

x

object to compute purity on.

...

arguments passed down to methods.

col.x

name of column.

col.y

name of column.