Description Usage Arguments Details Value Author(s) See Also Examples
Fits size and time from a ladder's peak table on a log scale, and uses the resulting slope and intercept to convert a sample's time into size.
1 |
ladder |
Ladder peak table, a data frame returned by read.ba.peaktable(). |
sample |
Sampple Time/Value table, a data frame returned by read.ba.sample(). |
Size = exp((Time - intercept) / slope)
A numeric vector of sizes of the same length as the sample's data frame number of rows.
Charles Plessy, RIKEN Omics Science Center
read.ba.peaktable
, read.ba.sample
1 2 3 | ladder <- read.ba.peaktable(system.file("data/ba.results.csv", package = "molaR"))
sample1 <- read.ba.sample(system.file("data/ba.sample1.csv", package = "molaR"))
sample1$size <- ba.fit(ladder, sample1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.