}
public static Map<String, List<double[]>> readCross(String platfile, String datafile,
Set<String> egIDs) throws Throwable
{
TabDelimitedFileParser parser = new TabDelimitedFileParser(platfile);
String[] egCols = new String[]{"ENTREZ_GENE_ID", "Entrez_Gene_ID", "GENE_SYMBOL", "GENE"};
String egCol = null;
for (String col : egCols)
{
if (FileUtil.columnsLineContains(platfile, col))
{
egCol = col;
break;
}
}
Map<String, Set<String>> eg2id = parser.getOneToManyMap(egCol, "ID");
Map<String, String> g2s = Triplet.getGeneToSymbolMap();
Set<String> idSet = new HashSet<String>();
for (String eg : egIDs)
{