def qorts_general_stats (self):
        """ Add columns to the General Statistics table """
        headers = OrderedDict()
        headers['Genes_PercentWithNonzeroCounts'] = {
            'title': '% Genes with Counts',
            'description': 'Percent of Genes with Non-Zero Counts',
            'max': 100,
            'min': 0,
            'suffix': '%',
            'scale': 'YlGn'
        }
        headers['NumberOfChromosomesCovered'] = {
            'title': 'Chrs Covered',
            'description': 'Number of Chromosomes Covered',
            'format': '{:,.0f}'
        }
        self.general_stats_addcols(self.qorts_data, headers)
def qorts_general_stats ( self ) : headers = OrderedDict ( ) headers [ 'Genes_PercentWithNonzeroCounts' ] = { 'title' : '% Genes with Counts' , 'description' : 'Percent of Genes with Non-Zero Counts' , 'max' : 100 , 'min' : 0 , 'suffix' : '%' , 'scale' : 'YlGn' } headers [ 'NumberOfChromosomesCovered' ] = { 'title' : 'Chrs Covered' , 'description' : 'Number of Chromosomes Covered' , 'format' : '{:,.0f}' } self . general_stats_addcols ( self . qorts_data , headers )
Add columns to the General Statistics table