|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprocope.evaluation.complexquality.go.CommonAncestors
public class CommonAncestors
Calculates and holds common ancestors for a given GO network. The ancestors of a GO Term are all parent terms on the way to the root node.
GONetwork
Constructor Summary | |
---|---|
CommonAncestors(GONetwork goNetwork)
Creates common ancestors object for a given GO network. |
Method Summary | |
---|---|
Collection<String> |
getAncestors(String term)
Returns all ancestors of a given GO term. |
Set<String> |
getCommonAncestors(String term1,
String term2)
Returns the set of common ancestors of two given GO terms. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonAncestors(GONetwork goNetwork)
goNetwork
- the GO network for which common ancestors are calculatedMethod Detail |
---|
public Collection<String> getAncestors(String term)
term
- identifier of the GO term
public Set<String> getCommonAncestors(String term1, String term2)
term1
- identifier of first GO termterm2
- identifier of second GO term
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |