code editing convertSampleDataIntoCoIntensityNetwork function 11-06-2014d1616 ------- code before trying to split matrix into blocks { public void convertSampleDataIntoCoIntensityNetwork(double[][] values, double threshold, String output_directory) { PearsonsCorrelation pc = new PearsonsCorrelation(); String[] sarray = new String[values.length]; useful_tools.createTextFile(output_directory, "row1.txt", Arrays.toString(values[0])); //fill up the similarity score with absolute value correlation coefficient values, but just write each row to a separate text file String edges = ""; for(int i=0; ithreshold) { link = 1; } if(i==(values.length-1) && link==1) { edges+=i+"\t"+j; } else if(link==1) { edges+=i+"\t"+j+"\r\n"; } } } useful_tools.createTextFile(output_directory, "network.txt", edges); } }