compareROC: Make ROC plots.

Description Usage Arguments Value See Also Examples

Description

This rocStats wrapper superimposes ROC curves on a plot to analyse the output performance of a method-A, and optionally compare it with that of a method-B, based on some ground thruth labels.

Usage

1
  compareROC(output, groundTruthLabels, compareToRanking)

Arguments

output

(vector) The output of ranking scores returned by method-A for each data-point.

groundTruthLabels

(vector) A binary vector that contains the ground truth (e.g. which genes are members of the top-100 ground truth list).

compareToRanking

A matrix where each column is the output vector of ranking scores returned by another competing method.

Value

area

A scalar. The area under the ROC curve of method-A.

See Also

rocStats

Examples

1
2
  data(FragmentDellaGattaData) ## Load demo data.
  compareROC(output= rnorm(length(DGatta_labels_byTSNI))>0, groundTruthLabels=DGatta_labels_byTSNI)

alkalait/gprege documentation built on May 10, 2019, 9:18 a.m.