R/reorderCelda.R
reorderCelda.Rd
Apply hierarchical clustering to reorder the cell populations and/or feature modules and group similar ones together based on the cosine distance of the factorized matrix from factorizeMatrix.
reorderCelda( x, celdaMod, useAssay = "counts", altExpName = "featureSubset", method = "complete" ) # S4 method for SingleCellExperiment,ANY reorderCelda( x, useAssay = "counts", altExpName = "featureSubset", method = "complete" ) # S4 method for matrix,celda_CG reorderCelda(x, celdaMod, method = "complete") # S4 method for matrix,celda_C reorderCelda(x, celdaMod, method = "complete") # S4 method for matrix,celda_G reorderCelda(x, celdaMod, method = "complete")
x | Can be one of
|
---|---|
celdaMod | Celda model object. Only works if |
useAssay | A string specifying which assay
slot to use if |
altExpName | The name for the altExp slot. Default "featureSubset". |
method | Passed to hclust. The agglomeration method to be used to be used. Default "complete". |
A SingleCellExperiment object (or Celda model object) with updated cell cluster and/or feature module labels.
#>#>