Learn R Programming

iCOBRA (version 1.0.2)

score: Accessor and replacement functions for score slot

Description

Accessor and replacement functions for the score slot in an COBRAData object.

Usage

score(x, ...)

score(x, ...) <- value

## S3 method for class 'COBRAData': score(x)

## S3 method for class 'COBRAData,data.frame': score(x) <- value

Arguments

x
An COBRAData object.
...
Additional arguments.
value
A data frame containing scores for each feature and each method.

Value

  • The accessor function regurns a data frame containing scores for each feature and each method.

Examples

Run this code
data(cobradata_example)
head(score(cobradata_example))

Run the code above in your browser using DataLab