R/calculate_efficiency.R
calculate_efficiency.Rd
Note efficiency is given in ratio, not per cent; multiply by 100 for that.
calculate_efficiency(cq_df_1, formula = cq ~ log2(dilution) + biol_rep)
cq_df_1 | data frame with cq (quantification cycle) data, 1 row per well. Must have columns cq, dilution. Assumes data are only for 1 probe/primer set/target_id, i.e. all values in cq_df_1 are fit with the same slope. |
---|---|
formula | formula to use for log-log regression fit. Default value assumes multiple biological replicates, cq ~ log2(dilution) + biol_rep. If only a single Biological Replicate, change to cq ~ log2(dilution). |
data frame with 1 single row, and columns: efficiency, efficiency.sd, r.squared.
calculate_efficiency_bytargetid