public void printTable() throws IOException{
	System.out.println("printing the resulting expression table to " + outFile);
        System.out.println("Normalize=" + normalize);
	//BufferedWriter outReads = new BufferedWriter (new FileWriter(outFile));
	TextFile outReads = new TextFile(outFile, true);
        String curCount="", numReads="",trName="";
        float reads=0;
       
        outReads.write("probe\t");
        outReads.writelnTabDelimited(sampleNames);
        for (int tr = 0; tr < trSize; tr++){            

            //if ( (featureExpressed[tr]) && (avgHigherThanThreshold(0, table[tr])) ){
              if (featureExpressed[tr]){
                outReads.write(allTranscr.get(tr));
                String tr_id = allTranscr.get(tr);
                
                for (int sam = 0; sam < samplesSize; sam++){
                    
                        if (normalize)
                            reads = (table[tr][sam] * 1000000) / readsPerSample[sam];
                        else
                            reads = table[tr][sam];
                        //reads = table[tr][sam];
                        if (! normalize){
                            outReads.write("\t" + String.format("%.3f", reads));//reads
                        }
                        else
                            outReads.write("\t" + String.format("%.8f", reads));//reads
                    
                }
                outReads.writeln();
            }
        }
        outReads.close();
    }