Learn R Programming

sctransform (version 0.4.3)

get_model_formula: Extract model formula from model string

Description

Helper function to convert model string (with 'y' prefix) to formula object

Usage

get_model_formula(model_str)

Value

Formula object without 'y' prefix

Arguments

model_str

Model string with 'y' prefix (e.g., 'y ~ log_umi')