owltools.phenolog
Class Main
java.lang.Object
owltools.phenolog.Main
public class Main
- extends Object
Author : Neeral Beladia
Date Created : September 5, 2010
Class Purpose : The Main Class is the kickoff Class consisting of Main() method
Methods : Main()
printhash()
Program Logic : 1. Read fly_genepheno.tsv data
2. Read through HashSet of GeneIDs read from fly_GenePheno.txt and compare with
all the Gene-Phenotype associations read from HashSet
3. Read Mice Gene ID - Phenotype ID data
4. Read Mice Gene ID - Gene Label data in a HashMap
5. Read Mice Phenotype ID - Phenotype Label data in a HashMap
6. Read through HashSet of GeneID-Phenotype ID
Assign the Gene Label and Phenotype Label to the corresponding ID
Create one Individual at a time and collect it in the HashSet of Individuals.
7. Read Ortholog Fly Gene ID - Mice Gene ID data
Constructor Summary |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
calculate_overlap
public static Pheno calculate_overlap(Pheno p1,
Pheno p2,
HashMap<String,IndividualPair> hm)
getpermutedgenes
public static HashSet<Individual> getpermutedgenes(int sampsz,
int pop_size,
ArrayList<Individual> ls_ind)
printresults
public static void printresults(String fname,
ArrayList<Pheno> rs_list,
double cutoff,
int flip)
main
public static void main(String[] args)
Copyright © 2010-2012. All Rights Reserved.