Skip to contents

GetRankResults get list of gene ranks by t stat for fGSEA

Usage

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

Arguments

limma.fit.object.list

the results returned by RunLimmaVoom. Use GetRankResultsRaw for results returned by dreamMixedModel

coefficient.number

the coefficient from the custom contrasts , check with head(result@coefficients)

contrast.name

this can be arbitrary and does not have to match the result coefficient name but is designed to force user to know which coefficient they are using from the fitted contrast model.

Value

list of gene ranks by t stat -- use as argument to `RunFgseaOnRankList`

Examples

if (FALSE) {
test = scglmmr::GetRankResults(limma.fit.object.list = bl, coefficient.number = 1, "test")
}