{
return "Contact Matrix";
}
-
GroupSet grps = new GroupSet();
-
@Override
public GroupSetI getGroupSet()
{
return grps;
}
-
@Override
public void setGroupSet(GroupSet makeGroups)
{
grps = makeGroups;
}
-
public static String contactToFloatString(ContactMatrixI cm)
{
StringBuilder sb = new StringBuilder();
float[][] vals = new float[cols][rows];
StringTokenizer tabsep = new StringTokenizer(values, "" + '\t');
int c = 0, r = 0;
-
while (tabsep.hasMoreTokens())
{
double elem = Double.valueOf(tabsep.nextToken());
}
if (c >= vals.length)
{
-
break;
}
}
Console.warn(
"Ignoring additional elements for Float string to contact matrix parsing.");
}
-
return vals;
}
}