distFitMonotone {FourCSeq} | R Documentation |
distFitMonotone
takes the variance stabilized count values and
calculates a monotone fit for the distance dependency. The position
information about the viewpoint is stored in fragData
.
The signal trend is fitted for the data left and right to the viewpoint
separately using the fda package.
distFitMonotone( count, fragData, alpha = 20, penalty = 0.1, removeZeros = FALSE, ... )
count |
Matrix of variance stabilized count data in the defined interval around the viewpoint. |
fragData |
Data frame with all the information on restriction fragments and the interval around the viewpoint. |
alpha |
Approximate number of fragments between two breaks of the B-spline
basis. |
penalty |
Penalty term passed to |
removeZeros |
Defines if zero values should be removed from the fit.
Default is |
... |
Additional parameters. |
Returns a matrix with z-score values of all fragments around the given viewpoint.
Felix A. Klein, felix.klein@embl.de