get_limma_results: get results from limma fit object

get_limma_resultsR Documentation

get results from limma fit object

Description

Takes a limma fit object created using either eBayes or treat and returns a long data.frame of the results. If the 'fit' object contains 'lods', then results are obtained using topTable. Else, if the fit object contains a 'treat.lfc' topTreat is used. If no coefficients are passed, it tries to guess which are the relevant ones checking which are made up of 1's and 0's.

Usage

get_limma_results(limma_fit, coefs = NULL, print_summary = TRUE)

Arguments

limma_fit

fit object produced by limma

coefs

coefficients to return

print_summary

logical, whether print summary of the results

Value

data.frame of results in long(ish) format


lefeverde/lefutils documentation built on Sept. 18, 2024, 7:30 a.m.