| Home |
How the code runs |
|
|
There are 11 main classes in ermineJ: The first 4 classes read in corresponding data files then parse those file then store all the information in maps or arrays. ConstantStuff and Stats contain necessary constants and functions for computation, the histogram stores information about random trails. exp_class_scores calculates the background distribution, and class_pvals use all the information above and generates all the results we need. Class_Frame provide GUI, which is triggered by Final_Project, the root of whole program. Most of the source codes are straight forward, but here I want to explain how replicated genes are handled . In class_pvals, the in_pval means the p-val array that is actually used for randomized trials. Therefore, if weight is on, we use 'ug_pval_arr', which is pvals of all the unigenes; if weight is off, we use 'pvals', which is pvals of all the genes. More general, the difference between weight on and off is, when weight is off, all the computation use gene properties as input; while weight is on, we use unigene properties instead.
|
| Paul Pavlidis. | |