fitSingleSigmoid: Fit sigmoid model

View source: R/model_fitting.R

fitSingleSigmoidR Documentation

Fit sigmoid model

Description

Fit sigmoid model

Usage

fitSingleSigmoid(x, y, start = c(Pl = 0, a = 550, b = 10))

Arguments

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

Details

Fits the following function to the data: y = (1 - Pl) / (1+exp((b - a/x))) + Pl

Value

model summary of type "nls"

Examples

data(stauro_TPP_data_tidy)
stk4 <- dplyr::filter(stauro_TPP_data_tidy, grepl("STK4", uniqueID))
fitSingleSigmoid(stk4$temperature, stk4$relAbundance)

Huber-group-EMBL/NPARC documentation built on May 11, 2023, 5:11 a.m.