Learn R Programming

prcbench (version 0.3.2)

ToolROCR: R6 class of the ROCR tool

Description

ToolROCR is a wrapper class for the https://rocr.bioinf.mpi-sb.mpg.de/{ROCR} tool, which is an R library that provides calculations of various performance evaluation measures.

Usage

ToolROCR

Arguments

format

An R6 class object.

Inheritance

ToolIFBase

Methods

Following seven methods are inherited from ToolIFBase. See ToolIFBase for the method descriptions.
  • call(testset, calc_auc, store_res)
  • get_toolname()
  • get_setname()
  • get_result()
  • get_x()
  • get_y()
  • get_auc()

See Also

This class is derived from ToolIFBase. create_toolset for creating a list of tools.

Examples

Run this code
## Initialization
toolrocr <- ToolROCR$new()

## Show object info
toolrocr

## create_toolset should be used for benchmarking and curve evaluation
toolrocr2 <- create_toolset("ROCR")

Run the code above in your browser using DataLab