View source: R/AddSignificanceGroup.R
addSignificanceGroup | R Documentation |
Function to add 3 group significance group label to fold change dataframe
addSignificanceGroup(
.data,
foldChangeVar,
significanceVariable,
adjustedInd,
significanceThreshold,
originalSignificanceThreshold
)
.data |
fold change dataframe |
foldChangeVar |
name of fold change column |
significanceVariable |
name of significance variable column (p-value, q-value, etc) |
adjustedInd |
logical - indicating whether or not a multiple hypothesis correction was applied. When TRUE, "q" will is used. When FALSE "p" is used. |
significanceThreshold |
numeric - value indicating threshold at which an observation in the significanceVariable coulumn is considered statistically significant. |
originalSignificanceThreshold |
numeric - value indicating un-transformed threshold at which an observation in the significanceVariable coulumn is considered statistically significant. |
returns labels and colors for 3 signficance groups (up, down, not significant)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.