densityPlotModelComparison-PCOSP_or_RLS_or_RGA-PCOSP_or_RLS_or_RGA-method: Render a Density Plot Comparing Model Performance Between Two...

Description Usage Arguments Value

Description

Render a Density Plot Comparing Model Performance Between Two PCOSP, RLSModel or RGAModel object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S4 method for signature 'PCOSP_or_RLS_or_RGA,PCOSP_or_RLS_or_RGA'
densityPlotModelComparison(
  object,
  refModel,
  ...,
  title,
  xlab,
  ylab,
  mDataTypeLabels
)

Arguments

object

A PCOSP, RLSModel or RGAModel object.

refModel

A PCOSP, RLSModel or RGAModel object to compare performance against.

...

Catch unnamed parameters. Not used.

title

Optional character vector with plot title.

xlab

Optional character vector with x-axis label.

ylab

Optional character vector with y-axis label.

mDataTypeLabels

Optional character vector whos names are one or more existing mDataTypes in object and refModel and whos values are the desired mDataType labels in the plot facets.

Value

A ggplot object with a density plot of model AUCs for object and a vertical line for the average AUC of refModel, faceted by mDataType.


bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.