volcanoplot: Make a volcanoplot of effect vs p-value and calculate the...

Description Usage Arguments Examples

Description

This function takes a matrix or dataframe as input and upon specifying the correct columns output the number of elements in the differently regulated groups. Optionally, the volcanoplot is also plotted. A log10 transformation of the p-value column can also be applied

Usage

1
volcanoplot(x, pCol, effCol, minP, minEff, log10 = TRUE, plot = TRUE, ...)

Arguments

x

Dataframe of matrix to be plotted

pCol

Name of column contianing the p-values

effCol

Name of column containing the effect sizes

minP

p-value cutoff

minEff

Effect size cutoff

log10

Logical indicating whether to log transform the p-values

plot

Logical indicating whether to plot or not

Examples

1
volcanoplot(x, pCol="pVal", effCol = "log2FC", minP = 0.05, minEff = 1, log10 = TRUE, plot = TRUE)

vincent-van-hoef/myFunctions documentation built on May 14, 2019, 10:36 p.m.