CalculateAmounts: CalculateAmounts

Description Usage Arguments Value

View source: R/CalculateAmounts.R

Description

Use the background_subtracted fluorescence values to make a lm from the standard_wells and predict the amounts in the other wells.

Usage

1
CalculateAmounts(background_subtracted, standard_wells)

Arguments

background_subtracted

A data.table of background-subtracted Clariostar readings. Must have a column called background_subtracted.

standard_wells

A data.table of standards with the columns well and amount, e.g.

data.table(well = paste0(LETTERS[3:8], 5),
           amount = c(rep(10, 3), rep(100, 3)))
well amount
1: C5 10
2: D5 10
3: E5 10
4: F5 100
5: G5 100
6: H5 100

Value

Returns a data.table of with an additional column called calculated_amount containing the result of predict on the background_subtracted values using the lm from the standards


TomHarrop/qubitr documentation built on May 14, 2019, 9:38 a.m.