subgroup_matrix: Get subgroup matrix

subgroup_arrayR Documentation

Get subgroup matrix

Description

Arrange (subgroup)levels in matrix

Usage

subgroup_array(object, subgroupvar)

subgroup_matrix(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$subgroup)
subgroup_matrix(object, 'subgroup')

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