estimate_hopping_rate | R Documentation |
Step 4: estimate the sample index hopping rate (SIHR)
estimate_hopping_rate(out, max_r = NULL)
out |
A list out containing read_counts and sample_names. |
max_r |
Maximum PCR duplication level to consider. The default considers all observed levels. |
Given that the number of observations
in the joined read counts datatable tends to be in the hundreds of millions,
observations with similar outcomes are tallied to produce an outcome counts datatable which in turn
is used to create a chimera counts datatable that tallies the number of chimeric and tho non-chimeric at each PCR duplication level r.
The chimera counts datatable is then used as input to the GLM Model in order to estimate, from the proportion of chimeric observations,
the sample index hopping rate. A list of summary statistics is also returned containing
the conditional and marginal distributions of reads, and the
proportion of molecules across samples \pi_r
for each each PCR duplication level r.
A list out with a total of 6 elements: read_counts, sample_names, outcome_counts, glm estimates, chimera counts, and summary_stats.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.