|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcytoscape.data.annotation.Annotation
@Deprecated public class Annotation
Store any number of classifications for named entities, each of which is from a specified species, and where the classifications are all terms from an ontology (a controlled vocabulary for some subject domain, expressed as a directed acyclic graph). For example:
| Field Summary | |
|---|---|
protected String |
curator
Deprecated. |
protected HashMap |
hash
Deprecated. |
protected Ontology |
ontology
Deprecated. |
protected String |
species
Deprecated. |
protected String |
type
Deprecated. |
| Constructor Summary | |
|---|---|
Annotation(String species,
String type,
Ontology ontology)
Deprecated. Creates a new Annotation object. |
|
Annotation(String species,
String type,
String curator)
Deprecated. Creates a new Annotation object. |
|
| Method Summary | |
|---|---|
void |
add(String name,
int classificationID)
Deprecated. create a new annotation for an entity (typically a gene) of the current species and with respect to the current ontology. |
int |
count()
Deprecated. total number of entities, usually ORFs. |
String[][] |
getAllHierarchyPathsAsNames(String name)
Deprecated. DOCUMENT ME! |
int[] |
getClassifications()
Deprecated. returns an array of all the classifications in the current annotation |
int[] |
getClassifications(String name)
Deprecated. all of the ontology identifiers registered for the specified entity |
Vector |
getClassificationsVector(String name)
Deprecated. all of the ontology identifiers registered for the specified entity, as a Vector of Integers |
String |
getCurator()
Deprecated. DOCUMENT ME! |
HashMap |
getMap()
Deprecated. DOCUMENT ME! |
String[] |
getNames()
Deprecated. returns an array of all the names (usually ORFs) currently annotated |
Ontology |
getOntology()
Deprecated. DOCUMENT ME! |
String |
getOntologyType()
Deprecated. DOCUMENT ME! |
String |
getSpecies()
Deprecated. DOCUMENT ME! |
String |
getType()
Deprecated. DOCUMENT ME! |
int |
maxDepth()
Deprecated. get all of the full paths (as ints) from the ontology for all of the currently annotated entities. |
void |
setOntology(Ontology newValue)
Deprecated. DOCUMENT ME! |
int |
size()
Deprecated. total number of classifications. |
String |
toString()
Deprecated. DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Ontology ontology
protected String curator
protected String species
protected String type
protected HashMap hash
| Constructor Detail |
|---|
public Annotation(String species, String type, Ontology ontology)
species - DOCUMENT ME!type - DOCUMENT ME!ontology - DOCUMENT ME!public Annotation(String species, String type, String curator)
species - DOCUMENT ME!type - DOCUMENT ME!curator - DOCUMENT ME!| Method Detail |
|---|
public HashMap getMap()
public void setOntology(Ontology newValue)
newValue - DOCUMENT ME!public Ontology getOntology()
public String getCurator()
public String getType()
public String getOntologyType()
public String getSpecies()
public void add(String name, int classificationID)
name - usually an ORF name, a unique identifier for this speciesclassificationID - a pointer into the ontology hierarchypublic String[] getNames()
public int[] getClassifications()
public int[] getClassifications(String name)
public Vector getClassificationsVector(String name)
public String[][] getAllHierarchyPathsAsNames(String name)
name - DOCUMENT ME!
public int count()
public int size()
public int maxDepth()
public String toString()
|
Cytoscape 2.8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||