apply_combat: Apply ComBat batch correction to pseudobulk matrices....

View source: R/form_tensor.R

apply_combatR Documentation

Apply ComBat batch correction to pseudobulk matrices. Generally, this should be done through calling the form_tensor() wrapper function.

Description

Apply ComBat batch correction to pseudobulk matrices. Generally, this should be done through calling the form_tensor() wrapper function.

Usage

apply_combat(container, batch_var)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

batch_var

character A batch variable from metadata to remove

Value

The project container with the batc corrected pseudobulked matrices.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.