Volcano plot for visualizing the cellular abundance difference. This function accepts the outputs of `AbundanceTest()`.

VolcanoPlot(
  test.df,
  p.value.cutoff = 0.001,
  xlab = NULL,
  ylab = NULL,
  colors = NULL
)

Arguments

test.df

A data frame from `AbundanceTest()`.

p.value.cutoff

The p-value cutoff for showing the cell type labels. Default: 0.001

xlab

The label for the x-axis. Default: NULL

ylab

The label for the y-axis. Default: NULL

colors

A vector of colors to be used in the plot.

Value

A ggplot object.