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()
OrthoPair
I 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 OrthoPair
public Orthologue getSecondOrthologue()
OrthoPair
getSecondOrthologue
in interface OrthoPair
public SimilarityType getSimilarity()
OrthoPair
getSimilarity
in interface OrthoPair
public double getPercentIdentity()
OrthoPair
getPercentIdentity
in interface OrthoPair
public String getRef()
OrthoPair
Copyright © 2014 BioJava. All rights reserved.