roc.auc: ROC AUC calculation

Description Usage Arguments Value Author(s) References Examples

View source: R/ROC.R

Description

ROC AUC calculation

Usage

1
roc.auc(ordered.results, true.positives)

Arguments

ordered.results

Items ordered from best to worst according to the test score.

true.positives

known true positives

Value

ROC AUC value

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
2
3
data(peerj32)
  x <- unlist(peerj32$microbes[1,])
  res <- roc.auc(names(x), sample(names(x), 10))

microbiome/microbiomeold documentation built on May 22, 2019, 9:57 p.m.