split_samples: Split samples

View source: R/7_impute.R

split_samplesR Documentation

Split samples

Description

Split samples by svar

Usage

split_samples(object, by = "subgroup")

cbind_imputed(objlist)

split_features(object, by)

Arguments

object

SummarizedExperiment

by

svar to split by (string)

objlist

SummarizedExperiment list

Value

SummarizedExperiment list

Examples

file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
objlist <- split_features(object, by = 'PLATFORM')
objlist <- split_samples(object, 'Diabetes')
objlist %<>% Map(impute, .)
object <- cbind_imputed(objlist)

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