
Compute the average total UMI per cell and UMI variation parameters.
library_estimation.RdCompute the average total UMI per cell and UMI variation parameters.
Arguments
- QC_data
Data frame. UMI-level molecule information from
obtain_qc_read_umi_tablecontaining columnsnum_reads,UMI_id,cell_id, andresponse_id.- downsample_ratio
Numeric or numeric vector. Proportion(s) for downsampling the dataset to create additional observation points. Must be between 0 and 1. Can be a vector for multiple downsampling levels, but one level is often sufficient. Default: 0.7.
- D2_rough
Numeric. Rough prior estimate for the variation parameter (D2) in the S-M curve model. Represents PCR amplification bias. Typically 0.3 for perturb-seq, higher (e.g., 0.8) for TAP-seq. Default: 0.3.