plot.SRanalysis: plot function

View source: R/plot.SRanalysis.R

plot.SRanalysisR Documentation

plot function

Description

Plot functions for 'SRanalysis' objects. Allows to visualize the stability and predictiveness trade-off of individual predictors. Green area corresponds to area for which stability selection bounds the false discovery rate (FDR) by 1.

Usage

## S3 method for class 'SRanalysis'
plot(x, x_axis = "SRdiff", varnames = NA, labels = FALSE, ...)

Arguments

x

object of class 'SRanalysis'.

x_axis

either "SRdiff" or "SRpred".

varnames

vector of variables names given in same ordering as columns of X. If NA the variable names saved in the SRanalysis object are used.

labels

boolean specifying whether to print names for all variables with selection probability greater than 0.5. Only works if varnames has been specified.

...

arguments to be passed to or from other methods.

Author(s)

Niklas Pfister


StabilizedRegression documentation built on June 30, 2022, 9:06 a.m.