plot_violin: Violin plot

Description Usage Arguments Examples

View source: R/plotting.R

Description

Violin plots of RNA or protein expression in the Seurat object

Usage

1
2
3
4
5
6
7
8
plot_violin(
  dataset,
  genes,
  rna_protein = "rna",
  split_condition = T,
  point_size = 0,
  ncols = NULL
)

Arguments

dataset

Seurat object that you want to get expression from

genes

The genes you want to plot

rna_protein

Do you want to plot the RNA or protein expression?

split_condition

Do you want to split the plots by disease?

point_size

Do you want to add individual points to the violin plot? Use this with some caution

ncols

Number of columns when plotting the graphs

Examples

1
2
3
4
5
6
## Not run: 
plot_violin(dataset = seurat_object,
            genes = "IFNG",
            rna_protein = "protein")

## End(Not run)

jackbibby1/scExpression documentation built on Dec. 20, 2021, 8:05 p.m.