Learn R Programming

scITD (version 1.0.4)

apply_combat: 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)

Value

The project container with the batc corrected pseudobulked matrices.

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