Plot heatmap of purity index of specified columns.

plot_purity(x, ...)

# S3 method for Seurat
plot_purity(x, col.x, col.y, ...)

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

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

# S3 method for data.frame
plot_purity(x, col.x, col.y, label = FALSE, label.size = 5, drop = FALSE, ...)

Arguments

x

a suitable object.

...

parameters passed down to methods.

col.x

name of column to be use in x-axis.

col.y

name of column to be use in y-axis.

label

logical; whether to add rounded values of purity to tiles.

label.size

size of labels text.

drop

whether to drop unused axis levels.