The RPPASpatialParams class is used to bundle the parameter set together that control how to perform spatial adjustment into a reusable object.
RPPASpatialParams(cutoff=0.8,
k=100,
gamma=0.1,
plotSurface=FALSE)
is.RPPASpatialParams(x)
# S4 method for RPPASpatialParams
paramString(object, slots, ...)
The RPPASpatialParams
generator returns an object of class
RPPASpatialParams
.
The is.RPPASpatialParams
method returns TRUE
if its
argument is an object of class RPPASpatialParams
.
The paramString
method returns a character vector, possibly
empty but never NULL
.
numeric scalar used to identify the background cutoff
with value in closed interval [0..1]. Default is 0.8
.
numeric scalar used as smoothing model argument.
Default is 100
.
numeric scalar used as model parameter with value in
closed interval [0..2]. Default is 0.1
.
logical scalar. If TRUE
, plots surfaces.
Default is FALSE
.
object of class RPPASpatialParams
object of class RPPASpatialParams
strings specifying RPPASpatialParams
slotnames to display
(for debugging)
extra arguments for generic routines
Although objects of the class can be created by a direct call to
new, the preferred method is to use the
RPPASpatialParams
generator function.
cutoff
:numeric scalar; see arguments above
k
:numeric scalar; see arguments above
gamma
:numeric scalar; see arguments above
plotSurface
:logical scalar; see arguments above
Returns string representation of object.
The paramString
method should not be called by user except for
informational purposes. The content and format of the returned string
may vary between different versions of this package.
P. Roebuck paul_roebuck@comcast.net, James M. Melott jmmelott@mdanderson.org
The cutoff
argument passed to quantile
is percentile
of the background estimates used to define the noise region of slide.
The k
argument passed to s
sets upper limit on
degrees of freedom associated with smoothing.
The gamma
argument passed to gam
provides a constant
multiplier used to inflate model degrees of freedom in the
GCV or UBRE/AIC score.
spatialCorrection
showClass("RPPASpatialParams")
spatialparams <- RPPASpatialParams(cutoff=0.8,
k=100,
gamma=0.1,
plotSurface=FALSE)
paramString(spatialparams)
Run the code above in your browser using DataLab