plot.compareDA: Plotting DA comparing result

View source: R/plot-comparing.R

plot.compareDAR Documentation

Plotting DA comparing result

Description

Plotting DA comparing result

Usage

## S3 method for class '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.


yiluheihei/microbiomeMarker documentation built on Nov. 5, 2023, 7:19 a.m.