os.rank {OmicSense} | R Documentation |
Visualize R-squared value distribution in target-predictor relationship
Description
Visualize R-squared value distribution in target-predictor relationship
Usage
os.rank(
x,
y,
method = "linear",
thresh = 0,
n.pred = ncol(x),
upper.xlim = ncol(x)
)
Arguments
x |
A data matrix (row: samples, col: predictors). |
y |
A vector of target value. |
method |
A string to specify the regression function for calculating R-squared values. "linear" (default), "quadratic" or "cubic" function can be specified. |
thresh |
The lower threshold of R-squared value to be leaved in prediction model (default: 0). |
n.pred |
The number of predictors to be leaved in prediction model (default: ncol(x)). |
upper.xlim |
The upper limitation of x axis (i.e., the number of predictors) in the resulted figure (default: ncol(x)). |
Value
A rank order plot
Author(s)
Takahiko Koizumi
Examples
data(Pinus)
train <- os.clean(Pinus$train)
target <- Pinus$target
train <- os.sort(train, target)
os.rank(train, target)
[Package OmicSense version 0.2.0 Index]