violinPlot {celda} | R Documentation

## Feature Expression Violin Plot

### Description

Outputs a violin plot for feature expression data.

### Usage

    violinPlot(counts, celdaMod, features, plotDots = FALSE)

### Arguments

`counts` | Integer matrix. Rows represent features and columns represent cells.
`celdaMod` | Celda object of class "celda_G" or "celda_CG".
`features` | Character vector. Uses these genes for plotting.
`plotDots` | TRUE or FALSE. If TRUE, the expression of features will be plotted as points in addition to the violin curve.

### Value

Violin plot for each feature, grouped by celda cluster

### Examples

    data(celdaCGSim, celdaCGMod)
    violinPlot(counts = celdaCGSim$counts,
        celdaMod = celdaCGMod, features = "Gene_1")

[Package celda version 1.0.4 Index]