volcano_diff_state: Volcano plot for differential state analysis.

View source: R/visualization.R

volcano_diff_stateR Documentation

Volcano plot for differential state analysis.

Description

Volcano plot for differential state analysis.

Usage

volcano_diff_state(
  x,
  logfc_cut = 1,
  pval_cut = 0.05,
  y_var = "p_adj.loc",
  title = NULL
)

Arguments

x

A data.frame contains following column:

gene

gene names

logFC

log2 fold change

p_adj.loc

adjusted p-value

cluster_id

data source

logfc_cut

Where to add cutoff-line for logFC.

pval_cut

Where to add cutoff-line for P value.

y_var

Which column should be used as y.

title

Plot title.


altairwei/rhapsodykit documentation built on Feb. 1, 2023, 8:52 a.m.