getStatAnnotationAnchorLines | R Documentation |
function to generate list of line anchors for stat annotations
getStatAnnotationAnchorLines(
.data,
group,
groupMembers,
significanceVariable,
groupIsSignificant,
includeInsignificantValues = FALSE
)
.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 |
list of position references for each annotation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.