Fit GRN using Ridge regression with bootstrap aggregation (bagging)
for more robust coefficient estimation.
Usage
fit_grn_bagging(
gem,
TFdict,
alpha = 10,
bagging_number = 20,
sample_frac = 0.8,
verbose = TRUE,
n_jobs = -1
)
Arguments
- gem
Gene expression matrix (cells x genes)
- TFdict
TF-target dictionary
- alpha
Regularization strength
- bagging_number
Number of bootstrap iterations
- sample_frac
Fraction of cells to sample in each iteration
- verbose
Print progress
- n_jobs
Number of parallel jobs (-1 for all cores)
Value
List with median coefficients and all bootstrap coefficients