Main EM algorithm that estimates transcript abundances from short-read and optionally long-read RNA-seq data. This is an internal function called by the main quantification API.
run_em_algorithm(
index,
sr_counts,
lr_counts = NULL,
positional_weights = NULL,
bias_type = "3p",
post_weight_umi_correction = FALSE,
max_iter = 100L,
tolerance = 1e-04,
use_prior = FALSE,
use_regularization = TRUE,
prior_predictions = NULL,
covariate_matrix = NULL,
prior_start = 25L,
convergence_start = 25L,
verbose = TRUE
)An mpaqt_index object
Short-read EC counts (named numeric vector)
Long-read transcript counts (optional)
Positional bias weights (optional)
Type of positional bias ("3p" or "5p")
Whether to normalize short-read probabilities after applying positional weights
Maximum number of iterations
Convergence tolerance
Whether to use prior predictions
Prior mean for each transcript (optional)
Iteration to start using prior
Iteration to start checking convergence
Print progress
List with quantification results