Skip to contents

GetContrastResultsRaw - calculate p values and return contrast results from modelfit with dreamMixedModel

Usage

GetContrastResultsRaw(limma.fit.object.list, coefficient.number, contrast.name)

Arguments

limma.fit.object.list

the results returned by dreamMixedModel, to get coefficiennt from RunVoomLimma use GetContrastResults

coefficient.number

corresponds to the contrast, the nmber is in order of the contrast matrix

contrast.name

this does not have to match the exact contrast name used in the contrast matrix, it is here to force / remind the user to choose the correct contrast.

Value

a list of dataframes with contrast results indexed by cell type

Examples

if (FALSE) {
fit_res = scglmmr::GetContrastResultsRaw(limma.fit.object.list = fit,
                                        coefficient.number = 1,
                                        contrast.name = "foldchangedifference")

}