R/methods.R
Idents.Rd
Returns the phenotype labels if set, otherwise sample identities.
Idents(object) # S4 method for class 'SpatialCellData' Idents(object)
A SpatialCellData object.
SpatialCellData
A character vector.
data(phenoscapR_example) table(Idents(phenoscapR_example)) #> #> tonsil_A tonsil_B #> 320 320