pairwiseConfig: 'pairwiseConfig'

Description Usage Arguments Details Value Examples

Description

This method shows the value of the pairwise configuration.

and configures the pairwise measure to compute semantic similarity between two concepts of a given ontology.To set the pairwise measure one of the available short flags described in details should be used.

Usage

1
2
3
4
5
6
7
8
9
pairwiseConfig(object)

pairwiseConfig(object) <- value

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

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

Arguments

object

instance of class Similarity-class

value

See details

Details

The following measures can be used to compute semantic similarities between two concepts.

The following measures require the specification of an additional meausre to compute the information content of nodes.

Information content based measures require the configuration parameter for estimating concept specificity. Intrinsic estimation uses the topological properties of the taxonomic backbone of the semantic graph. There are different options:

Value

The pairwise measure

instance of the Similarity class with the new pairwise option.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
sim <- new('Similarity')
obo <- system.file('extdata', 'sample.cs.obo', package='OnassisJavaLibs')
ontology(sim) <- obo
pairwiseConfig(sim)
sim <- new('Similarity')
obo <- system.file('extdata', 'sample.cs.obo', package='OnassisJavaLibs')
ontology(sim) <- obo
pairwiseConfig(sim) <- 'edge_resnik'
 #The following configuration uses an information content based measure
 pairwiseConfig(sim) <- c('resnik', 'seco')

eugeniaeueu/Onassis documentation built on March 9, 2020, 8:17 a.m.