summarize_fit | R Documentation |
Summarize fit
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),
...
)
object |
SummarizedExperiment or data.table |
... |
S3 dispatch |
fit |
'limma', 'lme', 'lm', 'lme', 'wilcoxon' or NULL |
coefs |
string vector |
data.table(contrast, nup, ndown)
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'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.