getParams: Control parameters for model fitting

Description Usage Arguments Value Examples

View source: R/model_fitting.R

Description

Control parameters for model fitting

Usage

1
getParams(start = c(Pl = 0, a = 550, b = 10), maxAttempts = 100)

Arguments

start

Numeric vector of start parameters for the melting curve equation

maxAttempts

Number of resampling steps in case of unsuccessful model fits

Value

list of two elements: 1) "start" listing the starting parameters for melting curve fitting, 2) "maxAttempts" listing the maximal number of attempts the fit should be allowed

Examples

1
2
3
4
5
6
7
8
data(stauro_TPP_data_tidy)
df <- dplyr::filter(stauro_TPP_data_tidy, grepl("MAPK|ATP|CDK|GTP|CRK", uniqueID))
testResults <- runNPARC(x = df$temperature,
                     y = df$relAbundance,
                     id = df$uniqueID,
                     groupsAlt = df$compoundConcentration,
                     dfType = "empirical",
                     control = getParams(maxAttempts = 50))

NPARC documentation built on Nov. 8, 2020, 8:05 p.m.