score {iCOBRA} | R Documentation

## Accessor and replacement functions for `score` slot

### Description

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

### Usage

    score(x, ...)

    score(x, ...) <- value

    ## S4 method for signature 'COBRAData'
    score(x)

    ## S4 replacement method for signature 'COBRAData,data.frame'
    score(x) <- value

### Arguments

`x` | A `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.

### Author(s)

Charlotte Soneson

### Examples

    data(cobradata_example)
    head(score(cobradata_example))

[Package iCOBRA version 1.12.1 Index]