public class Integrator extends Object
| Constructor and Description |
|---|
Integrator(EditorMap editorMap,
Model target,
Model... sources) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getThreshold()
Returns the threshold value (the smallest score for integrating
two conversions)
|
List<ConversionScore> |
integrate()
Integrates target and source(s) and returns a
sorted (desc) list of conversion scores.
|
List<ConversionScore> |
integrate(List<ConversionScore> alternativeScores)
Does the integration using user-provided scores list.
|
void |
setNormalizeModels(boolean normalizeModels)
Fixes some of the known Open Controlled Vocabullary issues in the models.
|
void |
setOnlyMapping(boolean mapping)
Enables/disables integration.
|
void |
setScoresOver(double scoresOver)
A score between two conversions is in the interval (0, 1].
|
void |
setSelfRemove(boolean selfRemove)
Enables removal of elements from the target if they are contained
both in source and target, and have a match with another conversion.
|
void |
setThreshold(Double threshold)
Sets the threshold value (the smallest score for integrating
two conversions)
|
public void setThreshold(Double threshold)
threshold - valuesetScoresOver(double)public Double getThreshold()
public void setOnlyMapping(boolean mapping)
mapping - true for skipping integrationintegrate()public void setSelfRemove(boolean selfRemove)
selfRemove - true for enabling removal, false otherwisepublic void setNormalizeModels(boolean normalizeModels)
normalizeModels - true for normalization of OCVspublic void setScoresOver(double scoresOver)
scoresOver - a double scorepublic List<ConversionScore> integrate()
setNormalizeModels(boolean),
setOnlyMapping(boolean),
setScoresOver(double),
setSelfRemove(boolean),
setThreshold(Double)public List<ConversionScore> integrate(List<ConversionScore> alternativeScores)
alternativeScores - alternative scores, can be nullintegrate()Copyright © 2016 BioPAX. All rights reserved.