dose_response: Fit dose response data

View source: R/dose_response.R

dose_responseR Documentation

Fit dose response data

Description

Converts a fitData object to a fitted fitData object (adds model, reported parameters...etc.)

Usage

dose_response(fitSettings, fitData)

Arguments

fitData

a fitData object to fit/refit

fitSettingsJSON

a fit settings json object (see examples)

Value

A fitted fitData object

Examples

#Fit all the curveids in the database:

#get fitData
data("example-ec50-fitData")

#fitSettingsJSON
file <- system.file("conf", "default-ec50-fitSettings.json", package = "racas")
fitSettingsJSON <- readChar(file, file.info(file)$size)
fitSettings <- fromJSON(fitSettingsJSON)
#fit the data
fitData <- dose_response(fitSettings, fitData)

mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.