plot_significant: Visualize Violin plot with significance

Description Usage Arguments

View source: R/plots.R

Description

Visualize Violin plot with significance

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_significant(
  seu,
  gene,
  conditions = NULL,
  test = "wilcox.test",
  asterisk = F,
  pos_only = F,
  plot_type = "violin",
  add_jitter = F
)

Arguments

seu

Seurat object

gene

Gene of interest

conditions

Specify which conditions to compare, otherwise use ones specified with 'Idents()' (Default: NULL)

test

Test (wilcox.test, t.test or custom func) (Default: wilcox.test)

asterisk

Replace p-values with asterisks (Default: False)

pos_only

Display only significant results (Default: False)

plot_type

Type of plot: violin, boxplot or jitter (Default: violin)

add_jitter

Display points (Default: False)


brickmanlab/commonR documentation built on Dec. 19, 2021, 11:44 a.m.