plotStateExpression {CellTrails} | R Documentation

## Visualize feature expression distribution per state

### Description

Violin plots showing the expression distribution of a feature per state.

### Usage

    plotStateExpression(sce, feature_name)

### Arguments

`sce` | A `SingleCellExperiment` object
`feature_name` | The name of the feature to be visualized

### Details

Each data point displays the feature’s expression value in a single sample. A violine plot shows the density (mirrored on the y-axis) of the expression distribution per sample.

### Value

A `ggplot` object

### Author(s)

Daniel C. Ellwanger

### See Also

`ggplot` `states`

### Examples

    # Example data
    data(exSCE)

    plotStateExpression(exSCE, feature_name="feature_1")

[Package CellTrails version 1.4.0 Index]