sval {iCOBRA} | R Documentation

## Accessor and replacement functions for `sval` slot

### Description

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

### Usage

    sval(x, ...)

    sval(x, ...) <- value

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

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

### Arguments

`x` | A `COBRAData` object.
`...` | Additional arguments.
`value` | A data frame containing s-values for each feature and each method. If the object does not have an s-value slot (older versions of the class did not have this slot), an empty data frame is returned for simplicity.

### Value

The accessor function returns a data frame containing s-values for each feature and each method.

### Author(s)

Charlotte Soneson

### Examples

    data(cobradata_example)
    head(sval(cobradata_example))

[Package iCOBRA version 1.8.0 Index]