pairwiseConfigRef {Onassis} | R Documentation

## `pairwiseConfigRef`

### Description

This method retrieves the reference to the Java configuration used to compute semantic similarities.

configures the pairwise java object to compute semantic similarity between two concepts of a given ontology, by passing as input the java reference to one of the allowed pairwise semantic similarity measures. For a complete list check the details section of the function pairwiseConfig.

### Usage

    pairwiseConfigRef(object)

    pairwiseConfigRef(object) <- value

    ## S4 method for signature 'Similarity'
    pairwiseConfigRef(object)

    ## S4 replacement method for signature 'Similarity'
    pairwiseConfigRef(object) <- value

### Arguments

`object` | instance of class `Similarity-class`
`value` | See details

### Value

The reference to the pairwise configuration used to compute semantic similarity

### Examples

    sim <- new('Similarity')
    pairwiseConfigRef(sim)
    sim <- new('Similarity')
    pairwiseConfigRef(sim) <- c('resnik')

[Package Onassis version 1.2.7 Index]