rROC on a matrix of (samples x features)
rROC.matrix.RdrROC on a matrix of (samples x features)
Usage
# S3 method for class 'matrix'
rROC(x, y, ...)Arguments
- x
Matrix, rows are samples, columns are features. Every feature should be restricted.
- y
Factor vector, values of the dependent variable for every column (element/sample).
- ...
Arguments passed on to
rROC.data.framesave_pathPath to save the results to. Intermediate results are saved into the directory file.path(save_path, "_partial_directory").
save_intermediateShould intermediate results be saved to disk? If TRUE, every combination by itself is saved into file.path(save_path, "_partial_directory").
load_existing_intermediateShould the earlier saved intermediate results in the folder file.path(save_path, "_partial_directory") be loaded?
do_plotsShould the plot_density_rROC_empirical be calculated and returned?
verboseShould progress be printed?
n_permutationsHow many permutations should be done
fix_seedboolean: If not FALSE, the seed for each permutation will be set by set.seed(fix_seed + permutation_i)
parallel_permutationsboolean: If TRUE, the permutation will be done via
future.apply::future_lapply, otherwise bybase::lapplypositive_labelLabel for the positive class. All other values of
responseare regarded as negative cases.
Value
A list of lists of simple_rROC_permutation and plot results. It is structured as follows:
dependent variable:
independent variable:
- "plots"
plot_density_rROC_empiricalresult- "permutation"
simple_rROC_permutationresult