expressionClasses {CAGEr} | R Documentation

## Extract labels of expression classes

### Description

Retrieves labels of expression classes of either individual CTSSs or consensus clusters from a CAGEset object.

### Usage

    expressionClasses(object, what = c("CTSS", "consensusClusters"))

    ## S4 method for signature 'CAGEset'
    expressionClasses(object, what = c("CTSS",
      "consensusClusters"))

    ## S4 method for signature 'CAGEexp'
    expressionClasses(object, what = c("CTSS",
      "consensusClusters"))

### Arguments

`object` | A `CAGEset` object.
`what` | Which level of expression clustering should be used. Can be either `"CTSS"` to extract labels of expression classes of individual CTSSs or `"consensusClusters"` to extract labels of expression classes of consensus clusters.

### Value

Returns character vector of labels of expression classes. The number of labels matches the number of expression clusters returned by `getExpressionProfiles` function.

### See Also

`getExpressionProfiles` `plotExpressionProfiles` `extractExpressionClass`

### Examples

    exprClasses <- expressionClasses(exampleCAGEset, what = "CTSS")
    exprClasses

[Package CAGEr version 1.28.0 Index]