volcanoracl: Volcano Plot

Description Usage Arguments

View source: R/plots.R

Description

Creates a volcano plot from the output of 'oracl::oraclient'

Usage

1
2
3
4
5
6
7
8
9
volcanoracl(
  df,
  x = "fold_change",
  y = "fdr",
  top_n = 5,
  trunc = 20,
  side = "left",
  include_ID = TRUE
)

Arguments

df

A dataframe generated using 'oracl::oraclient'

x

NUMERIC column to be used for the x axis of the plot. Will be log2-transformed. (default: '"fold_change"')

y

Significance metric to be used for the x axis of the plot. Will be -log-transformed. Options: 'c("p.value", "fdr")' (default: '"fdr"')

top_n

Number of terms that should be labelled. Default: 5.

trunc

To which size should Term-label be truncated? Defaults to '20'

side

From which side should truncation happen? Defauls to 'left'

include_ID

should GO_ID be included in plot labels? Defaults to 'TRUE'


lmuenter/oracl documentation built on Aug. 8, 2021, 8:41 a.m.