Description Usage Arguments Details Value Author(s) References See Also Examples
A function to update a given parameter in the calibration model.
1 | updateCalib(calib, paramVal, paramIndex)
|
calib |
A list with f, the calibration function, and params a list of parameters for f.
This object can be generated with the function |
paramVal |
The new value of the parameter to be updated. |
paramIndex |
The index of the parameter to be updated in the parameter list of calib. |
Users may want to refine the parameters of the calibration model. For example, in the model generated with prepareCalib
the user may wish to increase the threshold value in order to discard less information in the calibration step.
An updated calibration model (an updated calib object).
Yoli Shavit
Y. Shavit, F.K. Hamey, P. Lio', FisHiCal: an R package for iterative FISH-based calibration of Hi-C data, 2014 (submitted).
1 2 3 4 5 6 7 8 9 10 11 12 |
data(match)
npoints = 10 # number of points to fit
# prepareCalib computes threshold according to the fit
# useMax is set to FALSE
res = prepareCalib(match, npoints, useMax = FALSE)
calib = res$calib
calib
calib = updateCalib(calib, 3.9, 3)
calib
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.