/** * @param statType * @param statisticsStorage * @return Multiset<Integer> containing experiment counts across all efo attributes */ public static Multiset<Integer> getScoresAcrossAllEfos( final StatisticsType statType, final StatisticsStorage statisticsStorage) { List<Attribute> efoAttrs = new ArrayList<Attribute>(); for (String efo : statisticsStorage.getEfos()) { efoAttrs.add(new EfoAttribute(efo)); } StatisticsQueryCondition statsQuery = new StatisticsQueryCondition(statType); statsQuery.and(getStatisticsOrQuery(efoAttrs, statType, 1, statisticsStorage)); return getExperimentCounts(statsQuery, statisticsStorage, null); }