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 April 23, 2024, 7:38 a.m.