|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprocope.evaluation.complexquality.go.GONetwork
public class GONetwork
Represents the ontology network of one GO namespace.
| Nested Class Summary | |
|---|---|
static class |
GONetwork.Namespace
The GO namespaces. |
static class |
GONetwork.Relationships
GO ontology relationships which can be followed while constructing the ontology network. |
| Constructor Summary | |
|---|---|
GONetwork(File fileOntologies,
GONetwork.Namespace namespace,
GONetwork.Relationships relationships)
Creates a GO network from a given file in OBO format, using a given namespaces and the specified relationships |
|
GONetwork(String fileOntologies,
GONetwork.Namespace namespace,
GONetwork.Relationships relationships)
Creates a GO network from a given file in OBO format, using a given namespaces and the specified relationships |
|
| Method Summary | |
|---|---|
Collection<GOTerm> |
getAllTerms()
Get set of all term objects in the current network. |
GONetwork.Namespace |
getNamespace()
Returns the namespace used in this network. |
GOTerm |
getRoot()
Returns the root term of this ontology network (actually of the namespace which is used in this network). |
GOTerm |
getTerm(String ID)
Returns the term object with a given GO identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GONetwork(String fileOntologies,
GONetwork.Namespace namespace,
GONetwork.Relationships relationships)
throws IOException
fileOntologies - file with ontologies in OBO formatnamespace - the namespace to be usedrelationships - the relationships which are followed to contruct the network
IOException - if something went wrong reading the ontology file
public GONetwork(File fileOntologies,
GONetwork.Namespace namespace,
GONetwork.Relationships relationships)
throws IOException
fileOntologies - file with ontologies in OBO formatnamespace - the namespace to be usedrelationships - the relationships which are followed to contruct the network
IOException - if something went wrong reading the ontology file| Method Detail |
|---|
public GOTerm getRoot()
public GOTerm getTerm(String ID)
ID - identfier of term to look up
null if this term is not present in
the networkpublic Collection<GOTerm> getAllTerms()
public GONetwork.Namespace getNamespace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||