getVolcanoAnnotations: gets all possible volcano plot annotations in a single call....

View source: R/getVolcanoAnnotations.R

getVolcanoAnnotationsR Documentation

gets all possible volcano plot annotations in a single call. Combines list output from default and arrow annotations.

Description

gets all possible volcano plot annotations in a single call. Combines list output from default and arrow annotations.

Usage

getVolcanoAnnotations(
  .data,
  foldChangeVar,
  significanceVariable,
  selected,
  arrowLabelTextVar,
  ...
)

Arguments

.data

dataframe containing fold change data along with selected point indicator "selected_"

foldChangeVar

fold change variable

significanceVariable

significance value variable

selected

selected indicator column

arrowLabelTextVar

name of column in dataframe to pull for arrow annotation text

...

- additional named arguments to include in calls to other functions.

Value

returns list of lists of annotation objects – annotations - list of default volcano annotations – shapes - list of shapes - defaults to dotted line separating significance groups – arrow - list of arrow annotations to highlight points on volcano plot – parameters - metatdata used to generate annotation lists


cusom/CUSOM.ShinyHelpers documentation built on Oct. 23, 2023, 6:50 a.m.