public class SimpleOrthoPair extends Object implements OrthoPair
| Constructor and Description |
|---|
SimpleOrthoPair(Orthologue first,
Orthologue second,
SimilarityType type,
double percentIdentity)
constructor for the computed form
of an orthology relationship.
|
SimpleOrthoPair(Orthologue first,
Orthologue second,
String ref)
constructor for the curated form
of an orthology relationship
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Orthologue |
getFirstOrthologue()
gets the first orthologue in the orthology
relationship.
|
double |
getPercentIdentity()
get percentage identity.
|
String |
getRef()
get reference to evidence for
orthology.
|
Orthologue |
getSecondOrthologue()
gets the first orthologue in the orthology
relationship.
|
SimilarityType |
getSimilarity()
gets the second orthologue in the
orthology relationship.
|
public SimpleOrthoPair(Orthologue first, Orthologue second, SimilarityType type, double percentIdentity)
public SimpleOrthoPair(Orthologue first, Orthologue second, String ref)
public Orthologue getFirstOrthologue()
OrthoPairI agree that this access route is somewhat sucky for a symmetric relationship but I'd hate returning a Set of orthologues more and all the fiddling would require.
getFirstOrthologue in interface OrthoPairpublic Orthologue getSecondOrthologue()
OrthoPairgetSecondOrthologue in interface OrthoPairpublic SimilarityType getSimilarity()
OrthoPairgetSimilarity in interface OrthoPairpublic double getPercentIdentity()
OrthoPairgetPercentIdentity in interface OrthoPairpublic String getRef()
OrthoPairCopyright © 2014 BioJava. All rights reserved.