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, ...)
a suitable object.
parameters passed down to methods.
name of column to be use in x-axis.
name of column to be use in y-axis.
logical; whether to add rounded values of purity to tiles.
size of labels text.
whether to drop unused axis levels.