GetContrastResultsRaw: GetContrastResultsRaw - calculate p values and return...

View source: R/downstream_deprecated_functions.r

GetContrastResultsRawR Documentation

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

Description

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

## Not run: 
fit_res = scglmmr::GetContrastResultsRaw(limma.fit.object.list = fit,
                                        coefficient.number = 1,
                                        contrast.name = "foldchangedifference")


## End(Not run)

MattPM/scglmmr documentation built on April 26, 2024, 12:55 a.m.