Interface OrthoPairSet
-
- All Known Implementing Classes:
AbstractOrthoPairSet,SimpleOrthoPairSet
public interface OrthoPairSetrepresents the Homologene Group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceOrthoPairSet.Iterator
-
Field Summary
Fields Modifier and Type Field Description static ChangeTypeMODIFY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddOrthoPair(OrthoPair orthology)adds a specified OrthoPair relationship to this group.OrthoPairSetfilter(OrthoPairFilter filter)filter an OrthoPairSetdoublegetMinIdentity()get the lowest level of identity observed in this Groupjava.lang.StringgetName()retrieves name of this group.java.util.SetgetTaxa()get the taxa represented in this groupOrthoPairSet.Iteratoriterator()returns an iterator to the members of this setvoidremoveOrthoPair(OrthoPair orthology)removes a specified OrthoPair relationship from this group.voidsetName(java.lang.String name)set the name of this group.intsize()returns an iterator to the contents of the set.
-
-
-
Field Detail
-
MODIFY
static final ChangeType MODIFY
-
-
Method Detail
-
getName
java.lang.String getName()
retrieves name of this group. Homologene itself does not assign names or identifiers to groups.
-
setName
void setName(java.lang.String name)
set the name of this group.
-
addOrthoPair
void addOrthoPair(OrthoPair orthology) throws ChangeVetoException
adds a specified OrthoPair relationship to this group.- Throws:
ChangeVetoException
-
removeOrthoPair
void removeOrthoPair(OrthoPair orthology) throws ChangeVetoException
removes a specified OrthoPair relationship from this group.- Throws:
ChangeVetoException
-
size
int size()
returns an iterator to the contents of the set. /** no. of entries in this Homologene group
-
iterator
OrthoPairSet.Iterator iterator()
returns an iterator to the members of this set
-
getTaxa
java.util.Set getTaxa()
get the taxa represented in this group
-
getMinIdentity
double getMinIdentity()
get the lowest level of identity observed in this Group
-
filter
OrthoPairSet filter(OrthoPairFilter filter)
filter an OrthoPairSet
-
-