code: def sortmerna_detailed_barplot (self):
          
  
          # Specify the order of the different possible categories
          keys = OrderedDict()
          metrics = set()
          for sample in self.sortmerna:
              for key in self.sortmerna[sample]:
                  if not key in ["total", "rRNA", "non_rRNA"] and not "_pct" in key:
                      metrics.add(key)
  
          for key in metrics:
              keys[key] = { 'name': key.replace("_count","") }
  
          # Config for the plot
          pconfig = {
              'id': 'sortmerna-detailed-plot',
              'title': 'SortMeRNA: Hit Counts',
              'ylab': 'Reads'
          }
  
          self.add_section( plot = bargraph.plot(self.sortmerna, keys, pconfig) )
docs: Make the HighCharts HTML to plot the sortmerna rates