plotROC: Plot multiple performance curves in one graph

Description Usage Arguments

Description

Plot multiple performance curves in one graph

Usage

1
2
3
4
5
plotROC(ptitle, fn, rocs, aucs, names, outDir, perfTheme, scaleX, scaleY,
  scaleColor)

plotPR(ptitle, fn, prs, aucs, names, outDir, perfTheme, scaleX, scaleY,
  scaleColor)

Arguments

ptitle

plot title

fn

plot filename

rocs

list of ROCs, each containing dataframe with columns:

  • x false positive rate

  • y true positive rate

  • L1 names of different ROCs to differeniate x and y (important if there are multiple ROCs)

aucs

area under the ROC values matching the order of names

names

names of the different ROCs in L1, to be included in legend name

outDir

directory to put fn, the plot

perfTheme

ggplot2 theme() object to include plot formats

scaleX

scale_x_continuous, format of x scale

scaleY

scale_y_continuous, format of y scale

scaleColor

scale_color_manual, specify colors

prs

list of precision-recall curves, each containing dataframe with columns:

  • x recall

  • y precision

  • L1 names of different curvers to differeniate x and y (important if there are multiple)


novasmedley/gbmSpm documentation built on May 17, 2019, 10:39 a.m.