CalibrationPlot {sharp} | R Documentation |
Calibration plot
Description
Creates a plot showing the stability score as a function of the parameter(s)
controlling the level of sparsity in the underlying feature selection
algorithm and/or the threshold in selection proportions. See examples in
VariableSelection
, GraphicalModel
,
Clustering
and BiSelection
.
Usage
CalibrationPlot(
stability,
block_id = NULL,
col = NULL,
pch = 19,
cex = 0.7,
xlim = NULL,
ylim = NULL,
bty = "o",
lines = TRUE,
lty = 3,
lwd = 2,
show_argmax = TRUE,
show_pix = FALSE,
show_piy = FALSE,
offset = 0.3,
legend = TRUE,
legend_length = NULL,
legend_range = NULL,
ncol = 1,
xlab = NULL,
ylab = NULL,
zlab = expression(italic(q)),
xlas = 2,
ylas = NULL,
zlas = 2,
cex.lab = 1.5,
cex.axis = 1,
cex.legend = 1.2,
xgrid = FALSE,
ygrid = FALSE,
params = c("ny", "alphay", "nx", "alphax")
)
Arguments
stability |
output of |
block_id |
ID of the block to visualise. Only used for multi-block
stability selection graphical models. If |
col |
vector of colours. |
pch |
type of point, as in |
cex |
size of point. |
xlim |
displayed range along the x-axis. Only used if |
ylim |
displayed range along the y-axis. Only used if |
bty |
character string indicating if the box around the plot should be
drawn. Possible values include: |
lines |
logical indicating if the points should be linked by lines. Only
used if |
lty |
line type, as in |
lwd |
line width, as in |
show_argmax |
logical indicating if the calibrated parameter(s) should be indicated by lines. |
show_pix |
logical indicating if the calibrated threshold in selection
proportion in |
show_piy |
logical indicating if the calibrated threshold in selection
proportion in |
offset |
distance between the point and the text, as in
|
legend |
logical indicating if the legend should be included. |
legend_length |
length of the colour bar. Only used if |
legend_range |
range of the colour bar. Only used if |
ncol |
integer indicating the number of columns in the legend. |
xlab |
label of the x-axis. |
ylab |
label of the y-axis. |
zlab |
label of the z-axis. Only used if |
xlas |
orientation of labels on the x-axis, as |
ylas |
orientation of labels on the y-axis, as |
zlas |
orientation of labels on the z-axis, as |
cex.lab |
font size for labels. |
cex.axis |
font size for axes. |
cex.legend |
font size for text legend entries. |
xgrid |
logical indicating if a vertical grid should be drawn. Only used
if |
ygrid |
logical indicating if a horizontal grid should be drawn. Only
used if |
params |
vector of possible parameters if |
Value
A calibration plot.
See Also
VariableSelection
, GraphicalModel
,
Clustering
, BiSelection