for (NamedFeature locus : loci) {
double regionScore;
if (t instanceof DataTrack) {
DataTrack dataTrack = (DataTrack) t;
regionScore = dataTrack.getAverageScore(locus.getChr(), locus.getStart(), locus.getEnd(), zoom);
addToSampleData(sampleDataMap, sampleName, locus.getName(), t.getTrackType(), regionScore);
}
if(overlays != null) {
for (Track overlay : overlays) {