Description Usage Arguments Value
View source: R/generic_pairwise_comparison.R
Compare two pieces of data from a matrix given a sample information data frame and a grouping column.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | pairwiseMatrixTest(
mat,
sampInfo,
groupCol,
numerator,
denominator,
metricFun = defaultLogFc,
statFun = nsTestT,
sigFun = nsTestPValue,
pAdjustMethod = "BH",
allowNa = TRUE,
featName = "feature",
metricName = "logFc",
statName = "t",
pValName = "pValue",
pAdjName = "pAdj"
)
|
mat |
Matrix containing data to be analyzed. |
sampInfo |
Sample information data frame. |
groupCol |
Name of the sampInfo column containing the grouping variable. |
numerator |
Label of the grouping variable to be used as numerator. |
denominator |
Label of the grouping variable to be used as denominator. |
metricFun |
Function to calculate metric of change. Defaults to log2(ratio of means). |
statFun |
Function to calculate statistic of change. Defaults to a non-sensitive T-Test T value. |
sigFun |
Function to calculate significance of change. Defaults to a non-sensitive T-Test P value. |
pAdjustMethod |
Method used to adjust P values. |
allowNa |
Allow NAs on input matrix? |
featName |
Name of the column containing the compared features (rows). |
metricName |
Name of the column containing the metric. |
statName |
Name of the column containing the statistic. |
pValName |
Name of the column containing the p values. |
pAdjName |
Name of the column containing the adjusted p values. |
A data frame with the row-wise statistical results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.