apply_combat {scITD}R 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.


[Package scITD version 1.0.4 Index]