get_best_factor: Calculate a sensible dilution factor

View source: R/pcr_plan.R

get_best_factorR Documentation

Calculate a sensible dilution factor

Description

If the volume of RNA to add is < 1uL, it must be diluted. Dilutions are easy to calculate in one's head only if they are integers (divisible by 5 preferred). Further, this dilution should be as small as reasonably possible, otherwise it will become too dilute.

Usage

get_best_factor(vol_to_add)

Arguments

vol_to_add

numeric. 'Naive' volume to add, before dilution.

Value

an integer, either 1 (no dilution) or something divisible by 5.


KaiAragaki/amplify documentation built on Oct. 14, 2024, 11:46 p.m.