batch_design: This function allows you to make a batch design matrix

View source: R/summary_statistics.R

batch_designR Documentation

This function allows you to make a batch design matrix

Description

This function allows you to make a batch design matrix

Usage

batch_design(se, batch, covariate)

Arguments

se

summarized experiment

batch

batch variable

covariate

biological covariate

Value

design table

Examples

library(scran)
se <- mockSCE()
batch_design_tibble <- batch_design(se, batch = "Mutation_Status",
                                                covariate = "Treatment")
batch_design_tibble


compbiomed/BatchQC documentation built on Nov. 6, 2024, 12:17 a.m.