Package org.forester.go
Class GoUtils
java.lang.Object
org.forester.go.GoUtils
- 
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedHashMap<GoId,Integer> countCategories(List<GoTerm> categories, List<GoTerm> experiment_set, Map<GoId, GoTerm> all_go_terms) This is for counting the how many times each GO term in 'categories' is a (direct or indirect) super term of the GO terms in 'experiment_set'.static LinkedHashMap<GoId,Integer> createGoIdToGoTermMap(List<GoTerm> go_terms) getAllSuperGoIds(GoId go_id, Map<GoId, GoTerm> goid_to_term_map) getAllSuperGoTerms(GoId go_id, List<GoTerm> go_terms) getAllSuperGoTerms(GoId go_id, Map<GoId, GoTerm> goid_to_term_map) getAllSuperGoTerms(GoTerm go_term, Map<GoId, GoTerm> goid_to_term_map) static GoTermgetPenultimateGoTerm(GoTerm go_term, Map<GoId, GoTerm> map) static GoTermgetUltimateGoTerm(GoTerm go_term, Map<GoId, GoTerm> map) parseGoIds(Object source, String start_of_comment_line, String start_of_label_line)  
- 
Method Details
- 
countCategories
public static LinkedHashMap<GoId,Integer> countCategories(List<GoTerm> categories, List<GoTerm> experiment_set, Map<GoId, GoTerm> all_go_terms) This is for counting the how many times each GO term in 'categories' is a (direct or indirect) super term of the GO terms in 'experiment_set'.- Parameters:
 categories- the set of super terms to be countedexperiment_set- the list of GO terms to be analyzedall_go_terms- all terms in the ontology- Returns:
 
 - 
countCategoriesId
 - 
createGoIdToGoTermMap
 - 
getAllSuperGoIds
 - 
getAllSuperGoTerms
 - 
getAllSuperGoTerms
 - 
getAllSuperGoTerms
 - 
getPenultimateGoTerm
 - 
getUltimateGoTerm
 - 
parseGoIds
public static SortedMap<String,List<GoId>> parseGoIds(Object source, String start_of_comment_line, String start_of_label_line) throws IOException - Throws:
 IOException
 
 -