ftype: Feature type

ftypeR Documentation

Feature type

Description

Feature type

Usage

ftype(
  object,
  formula = default_formula(object),
  drop = varlevels_dont_clash(object, all.vars(formula)),
  fit = fits(object)[1],
  codingfun = contr.treatment.explicit
)

Arguments

object

SummarizedExperiment

formula

model formula

drop

TRUE or FALSE

fit

'limma', 'lm', 'lme', 'wilcoxon'

codingfun

coding function

Value

SummarizedExperiment

Examples

file <- download_data('atkin.metabolon.xlsx')
object <- read_metabolon(file)
object %<>% fit_limma(block = 'Subject')
object %<>% ftype()
fdt(object)

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