Description Usage Arguments Value
View source: R/limma_pairwise_comparison.R
Creates a linear model with limma and fits it to the provided contrasts. Then uses eBayes to smooth standard errors and obtain the list of pairwise comparison results with topTable.
1 2 3 4 5 6 7 8 9 10 11 12 | limmaDfFromContrasts(
mat,
desMat,
conMat,
trend = FALSE,
compName = "comparison",
featName = "feature",
exprName = "AveExpr",
fcName = "logFc",
pName = "pValue",
pAdjName = "pAdj"
)
|
mat |
Matrix with data to analyse. |
desMat |
Design matrix. |
conMat |
Contrasts matrix. |
trend |
logical, should an intensity-trend be allowed for the prior variance? Default is that the prior variance is constant. |
compName |
Name for the column that indicates the pairwise comparison in the tidy data frame. |
featName |
Name for the column that indicates the analyzed row feature in the tidy data frame. |
exprName |
Name for the resulting average expresion column. |
fcName |
Name for the resulting fold change column. |
pName |
Name for the resulting p value column. |
pAdjName |
Name for the resulting adjusted p value column. |
A data frame with the results in a tidy format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.