Learn R Programming

sctransform (version 0.4.3)

prepare_regressor_data: Prepare regressor data from vst object and cell attributes

Description

Helper function to create regressor data matrix, handling both regular and non-regularized parameters if present

Usage

prepare_regressor_data(vst_out, cell_attr)

Value

Matrix of regressor data

Arguments

vst_out

vst object containing model_str and model_pars_nonreg

cell_attr

Data frame of cell attributes