Plotting DA comparing result

# S3 method for compareDA
plot(x, sort = c("score", "auc", "fpr", "power"), ...)

Arguments

x

an compareDA object, output from compare_DA().

sort

character string specifying sort method. Possibilities are "score" which is calculated as \((auc - 0.5) * power - fdr\), "auc" for area under the ROC curve, "fpr" for false positive rate, "power" for empirical power.

...

extra arguments, just ignore it.

Value

a ggplot2::ggplot object containing 4 subplots: "auc", "fdr", "power"and "score" plot.