View source: R/CalculateFoldChangeByKeyGroup.R
calculateFoldChangeByKeyGroup | R Documentation |
Calculate fold change for each key value between groups
calculateFoldChangeByKeyGroup(
.data,
.key,
.group,
.response,
baselineGroupLabel,
inf.rm = TRUE,
...
)
.data |
A dataframe |
.key |
A string or number - key value for dataframe. Statistics will be computed between groups for each key value |
.group |
A string - column indicating group membership - should be binary. |
.response |
A number - numerical value to use with statitical test. Should be log2 transformed values. |
baselineGroupLabel |
a string - indicating which statisical test to perform by name.. |
inf.rm |
logical indicating whether to remove INF fold changes (dividing by 0) - defaults to TRUE |
... |
dots to accomodate additiaon arguments passed when called from parent function |
dataframe indicating fold change (raw and log2) between baseline and comparison for each group by key value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.