fit_sigmoid: Fit a sigmoid

View source: R/helpers.R

fit_sigmoidR Documentation

Fit a sigmoid

Description

Helper function to fit a sigmoid with a=1 to data using the LM algorithm

Usage

fit_sigmoid(fit_data, slopes = c(-0.01, -0.03, -0.1), ic50s = c(-4, -5, -6))

Arguments

fit_data

A tibble or data.frame with columns 'Concentration_value' and 'Viability' corresponding defining the points to fit

slopes

Initial values to start the fit of slopes

ic50s

Initial values to start the fit of ic50s

Value

A vector of size 3 corresponding to parameters b and c, and the residual of the fit

See Also

sigmoid


MathurinD/drugResistance documentation built on July 4, 2025, 10:30 p.m.