order_on_p: Order on p

order_on_pR Documentation

Order on p

Description

Order on p

Usage

order_on_p(
  object,
  fit = autonomics::fits(object),
  coefs = autonomics::coefs(object, fit = fit),
  combiner = "|",
  verbose = TRUE
)

order_on_effect(
  object,
  fit = autonomics::fits(object),
  coefs = autonomics::coefs(object, fit = fit),
  combiner = "|",
  verbose = TRUE
)

Arguments

object

SummarizedExperiment

fit

string vector: subset of 'fits(object)'

coefs

string vector: subset of 'coefs(object)'

combiner

'|' or '&'

verbose

TRUE or FALSE

Value

SummarizedExperiment

Examples

# Read
  file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
  object <- read_metabolon(file)
  order_on_p(object)
  order_on_p(fit_limma(object), coefs = c('t1-t0', 't2-t0', 't3-t0'))

bhagwataditya/autonomics documentation built on Dec. 1, 2024, 12:27 a.m.