Description Usage Arguments Value See Also Examples
View source: R/tpptrFitSplines.R
Fit natural splines to all proteins in a dataset.
| 1 2 3 4 5 6 7 8 9 | tpptrFitSplines(
  data,
  factorsH1,
  factorsH0 = character(0),
  splineDF = 3:7,
  computeAUC = NULL,
  returnModels = TRUE,
  nCores = "max"
)
 | 
| data | the data to be fitted | 
| factorsH1 | which factors should be included in the alternative model? | 
| factorsH0 | which factors should be included in the null model? | 
| splineDF | degrees of freedom for natural spline fitting. | 
| computeAUC | DEPRECATED | 
| returnModels | should the linear models be returned in a column of the result table? Activation increases memory requirements. | 
| nCores | either a numerical value given the desired number of CPUs, or 'max' to automatically assign the maximum possible number (default). Argument  | 
A table containing the fitted models per protein
| 1 2 3 4 5 6 7 8 9 10 | data(hdacTR_smallExample)
tpptrData <- tpptrImport(configTable = hdacTR_config, data = hdacTR_data)
normResults <- tpptrNormalize(data = tpptrData, 
               normReqs = tpptrDefaultNormReqs())
normData_eSets <- normResults$normData
normData_longTable <- tpptrTidyUpESets(normData_eSets)
hdacSubset <- subset(normData_longTable, grepl("HDAC", uniqueID))
hdacSplineFits <- tpptrFitSplines(data = hdacSubset, 
                                  factorsH1 = c("condition"), 
                                  nCores = 1)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.