code: def _apply_worksheet_template_reference_analyses(self, wst, type='all'):
          
          if type == 'all':
              self._apply_worksheet_template_reference_analyses(wst, 'b')
              self._apply_worksheet_template_reference_analyses(wst, 'c')
              return
  
          if type not in ['b', 'c']:
              return
  
          references = self._resolve_reference_samples(wst, type)
          for reference in references:
              slot = reference['slot']
              sample = reference['sample']
              services = reference['supported_services']
              self.addReferenceAnalyses(sample, services, slot)
docs: Add reference analyses to worksheet according to the worksheet template
          layout passed in. Does not overwrite slots that are already filled.
          :param wst: worksheet template used as the layout