View source: R/model_fitting.R
getParams | R Documentation |
Control parameters for model fitting
getParams(start = c(Pl = 0, a = 550, b = 10), maxAttempts = 100)
start |
Numeric vector of start parameters for the melting curve equation |
maxAttempts |
Number of resampling steps in case of unsuccessful model fits |
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
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.