FCthreshold: FCthreshold

View source: R/FCthreshold.R

FCthresholdR Documentation

FCthreshold

Description

Add a 'threshold' column to change the shape of datapoints in the volcano-plot.

Usage

FCthreshold(df, p_threshold = 0.05, FC_threshold = 1.5)

Arguments

df

Dataframe with a p.adj column from rstatix and a log2(FC) column with the log2 fold change values.

p_threshold

Adjusted p.value threshold. Default 0.05.

FC_threshold

log2 fold_change threshold, default 1.5.

Value

The dataframe with a threshold column.


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