R/meltCurveParamNames.R

Defines functions meltCurveParamNames

meltCurveParamNames <- function(returnParNames, returnPerformanceInfo){
  ## Assistant function that returns the column names of the melting curve 
  ## parameters in the internal datasets.
  ## This function is intended to assure consistency when accessing, 
  ## manipulating, or storing melting curve paramter columns in the package's 
  ## data objects.
  out <- c()
  if (returnParNames) {
    out <-c(out, "a", "b", "meltPoint", "inflPoint", "slope", "plateau", "R_sq")
  }
  if (returnPerformanceInfo) {
    out <- c(out, "model_converged", "sufficient_data_for_fit")
  }
  return(out)
}

Try the TPP package in your browser

Any scripts or data that you put into this service are public.

TPP documentation built on Nov. 8, 2020, 5:55 p.m.