Select celltypes to keep or exclude in the analysis

select_celltypes(sce_object, celltypes, column = "Phenotype", keep = TRUE)

Arguments

sce_object

SingleCellExperiment object generated by format_image_to_sce

celltypes

Vector of celltypes of keep or exclude

column

String the name of the column that the celltypes are under

keep

TRUE if vector of phenotypes are the cells that are going to be kept, FALSE if they are to be removed

Value

A SingleCellExperiment object is returned