getParams {NPARC} | R Documentation

## Control parameters for model fitting

### Description

Control parameters for model fitting

### Usage

    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

    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))

[Package NPARC version 1.4.0 Index]