updateCalib: Update a parameter value in the calibration model

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

A function to update a given parameter in the calibration model.

Usage

1
updateCalib(calib, paramVal, paramIndex)

Arguments

calib

A list with f, the calibration function, and params a list of parameters for f. This object can be generated with the function prepareCalib.

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.

Details

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.

Value

An updated calibration model (an updated calib object).

Author(s)

Yoli Shavit

References

Y. Shavit, F.K. Hamey, P. Lio', FisHiCal: an R package for iterative FISH-based calibration of Hi-C data, 2014 (submitted).

See Also

prepareCalib
calibrate
match

Examples

 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
             

FisHiCal documentation built on May 1, 2019, 10:09 p.m.