celdaClusters: Get or set the cell cluster labels from a celda...

Description Usage Arguments Value Examples

Description

Return or set the cell cluster labels determined by celda_C or celda_CG models.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
celdaClusters(x, ...)

## S4 method for signature 'SingleCellExperiment'
celdaClusters(x, altExpName = "featureSubset")

## S4 method for signature 'celdaModel'
celdaClusters(x)

celdaClusters(x, altExpName = "featureSubset") <- value

## S4 replacement method for signature 'SingleCellExperiment'
celdaClusters(x, altExpName = "featureSubset") <- value

Arguments

x

Can be one of

  • A SingleCellExperiment object returned by celda_C, or celda_CG, with the matrix located in the useAssay assay slot. The a altExp slot with name altExpName will be used. Rows represent features and columns represent cells.

  • Celda model object.

...

Ignored. Placeholder to prevent check warning.

altExpName

The name for the altExp slot to use. Default "featureSubset".

value

Character vector of cell cluster labels for replacements. Works only if x is a SingleCellExperiment object.

Value

One of

Examples

1
2
3
4

celda documentation built on Nov. 8, 2020, 8:24 p.m.