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/autonomics documentation built on Dec. 1, 2024, 12:27 a.m.