robustscale {pickgene} | R Documentation |
Smoothing spline estimate of median and mean absolute deviation (MAD).
robustscale(y, x, nslice=400, corcenter=TRUE, decrease=TRUE)
y |
response |
x |
predictor |
nslice |
number of slices (should be "large") |
corcenter |
correct for center |
decrease |
force MAD to decrease with x |
This divides data into roughly many nslice
slices and computes
median and mean absolute deviation (mad
) for each slice. These are
then smoothed using smooth.spline
.
Data frame containing significant genes with the following information:
center |
estimate of center median |
scale |
MAD estimate of scale |
x |
ordered x values for plotting |
y |
y sorted by x |
Yi Lin
## Not run: robustscale(y,x) ## End(Not run)