== FastANOVA == 

[How to compile]
  0) This program is running in Windows system. The following development environment is needed:
     Visual Studio V8.0, Boost 1.35
     For how to install and configure Boost, please refer to http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html.

  1) Import the project into Visual Studio
  2) then compile the program

[Usage] 
  FastANOVA-win.exe geno_fn pheno_fn #individuals #SNPs #permutations FWER_threshold

[Options Details]
geno_fn: 	the genotype data file name (the rows are SNPs, the columns are individuals)
pheno_fn: 	the phenotype data file name
#individual: 	the number of individuals in the data
#SNPs: 		the number of SNPs in the data
#permutations:	the number of permutations used in the significant test
#FWER_threahold:the threshold of Family-wise Error Rate Control

[Example]
  .\FastANOVA-win.exe ..\data\genotype_file.txt ..\data\phenotype_file.txt 32 1000 100 0.1

[Output Description]
  #=== Step 1: Finding Critical Value in Permutations ===#            
  #Critical Value(F_alpha):                                          <---- the threshold use to prune
  21.0228

  #------------ Step 1 Runtime Statistics ----------#
  #Run time: 19.45  seconds
  #Visited pairs: 12120898
  Pruning raio:0.757339
  #------- End of Step 1 Runtime Statistics --------#


  #======= Step 2: Finding Significant SNP pairs ========#
  #Num of Significant SNP pairs                                      <---- the number of significant SNP-pairs found
  1
  #-------------- Significant SNP pairs ------------#                <---- the list of significant SNP-pairs
  #F Value: 
  25.4018
  #Genotype Id: 
  334                                                               
  00000000000011001110000111011101
  #Genotype Id: 
  625
  11000000001000000001111000100010
  #------------------------------#

  #---------- End of Significant SNP pairs ---------#

  #------------ Step 2 Runtime Statistics ----------#
  #Run time: 0.46  seconds
  #------- End of Step 2 Runtime Statistics --------#

  @@100
  Running time: 19.91  seconds



Ver 0.0.5_win32

@All Rights Reserved.
