prepare_regressor_data: Prepare regressor data from vst object and cell attributes

View source: R/utils.R

prepare_regressor_dataR Documentation

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)

Arguments

vst_out

vst object containing model_str and model_pars_nonreg

cell_attr

Data frame of cell attributes

Value

Matrix of regressor data


sctransform documentation built on Jan. 10, 2026, 9:17 a.m.