plotVolcano: plotVolcano

View source: R/plotVolcano.R

plotVolcanoR Documentation

plotVolcano

Description

Creates vertical lines to separate the different fold change categories, lines are drawn with a default fold change of 1.5.

Usage

plotVolcano(df, fold_change_threshold = 1.5, features = NULL)

Arguments

df

Dataframe with a log2(FC) column with log2 fold change values, and a p.adj column with p-values.

fold_change_threshold

Where should the vertical lines be drawn in the plot to show the threshold for over/underrepresentation? Default 1.5.

features

Character string of features to be labelled, default NULL.

Value

A volcano ggplot, with upward triangles for upregulated features, downward triangles for downregulated features and circles for features below the threshold.


AslaugL/thesisToolsOmics documentation built on April 3, 2022, 8:16 p.m.