getStatAnnotationAnchorLines: function to generate list of line anchors for stat...

getStatAnnotationAnchorLinesR Documentation

function to generate list of line anchors for stat annotations

Description

function to generate list of line anchors for stat annotations

Usage

getStatAnnotationAnchorLines(
  .data,
  group,
  groupMembers,
  significanceVariable,
  groupIsSignificant,
  includeInsignificantValues = FALSE
)

Arguments

.data

dataframe

group

column of group labels used to calcualte statistic

groupMembers

string/vector - all possible group labels from group column

significanceVariable

column containing statistical variable result (i.e. p.value from statistical test)

groupIsSignificant

column - logical indicating whether significanceVariable value is significant.

includeInsignificantValues

logical - whether to include results that are not significant. Defaults to FALSE

Value

list of position references for each annotation


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