summarize_fit: Summarize fit

summarize_fitR Documentation

Summarize fit

Description

Summarize fit

Usage

summarize_fit(object, ...)

## S3 method for class 'data.table'
summarize_fit(
  object,
  fit = fits(object),
  coefs = autonomics::coefs(object, fit = fit),
  ...
)

## S3 method for class 'SummarizedExperiment'
summarize_fit(
  object,
  fit = fits(object),
  coefs = autonomics::coefs(object, fit = fit),
  ...
)

Arguments

object

SummarizedExperiment or data.table

...

S3 dispatch

fit

'limma', 'lme', 'lm', 'lme', 'wilcoxon' or NULL

coefs

string vector

Value

data.table(contrast, nup, ndown)

Examples

file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
object %<>% fit_limma()
object %<>% fit_lm()
summarize_fit(object, coefs = c('t1-t0', 't2-t0', 't3-t0'))

bhagwataditya/autonomics documentation built on Nov. 1, 2024, 5:47 a.m.