contrast_subgroup_cols: Row/Col contrasts

View source: R/8_fit_limma.R

contrast_subgroup_colsR Documentation

Row/Col contrasts

Description

Row/Col contrasts

Usage

contrast_subgroup_cols(object, subgroupvar)

contrast_subgroup_rows(object, subgroupvar)

Arguments

object

SummarizedExperiment

subgroupvar

subgroup svar

Value

matrix

Examples

file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
object$subgroup <- paste0(object$Diabetes, '.', object$Time)
subgroup_matrix(object, subgroupvar = 'subgroup')
contrast_subgroup_cols(object, subgroupvar = 'subgroup')
contrast_subgroup_rows(object, subgroupvar = 'subgroup')

bhagwataditya/importomics documentation built on Oct. 29, 2024, 3:19 p.m.