def viewPlateStats(self): """Opens a popup with result stats organised by plate.""" included = self.resultsTable.table[self.resultsTable.table["Include"] == True] included = included[included.Group != "No sample"] groups = list(np.unique(included["Group"])) statsTable = self.__getStatsTable(included, groups, "Plate ID") ok = StatsDialog.run(statsTable)
def viewPopulationStats(self): """Opens a popup with result stats organised by population.""" included = self.resultsTable.table[self.resultsTable.table["Include"] == True] groups = list(np.unique(included["Group"])) statsTable = self.__getStatsTable(included, groups, "Population") ok = StatsDialog.run(statsTable)