memcrispr.volcanoPlot: Create volcano plot comparing fold-change and p-value for...

Description Usage Arguments

View source: R/plotting.R

Description

For every gene in a model results table, this function plots the log2 fold change against the -log10 p-value. Genes that fall below specified p-value threshold and above a fold change threshold are highlighted and named in the plot.

Usage

1
memcrispr.volcanoPlot(topTable, fc.thresh = 1, p.thresh = 0.05)

Arguments

topTable

Standard memcrispr table of model results. Typically produced by memcrispr.fitModel.

fc.thresh

Specify a fold change cutoff. Expects to be provide the raw fold change, which will be automatically converted to log2 scale for plotting.

p.thresh

Specify a p-value cutoff. This exepcts to be provided with the actual p-value e.g. 0.05, which will automatically be converted to -log10 scale for plotting.


grimbough/MEMcrispR documentation built on Feb. 4, 2021, 5:26 a.m.