Description Usage Arguments Details Value Examples
View source: R/model_fitting.R
Fit sigmoid model
1 | fitSingleSigmoid(x, y, start = c(Pl = 0, a = 550, b = 10))
|
x |
numeric vector of the independent variables (typically temperature) |
y |
numeric vector of the dependent variables (typically relative abundance measurements) |
start |
numeric vector of start parameters for the melting curve equation |
Fits the following function to the data: y = (1 - Pl) / (1+exp((b - a/x))) + Pl
model summary of type "nls"
1 2 3 | data(stauro_TPP_data_tidy)
stk4 <- dplyr::filter(stauro_TPP_data_tidy, grepl("STK4", uniqueID))
fitSingleSigmoid(stk4$temperature, stk4$relAbundance)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.