code: def filter_threshold(self, inst_rc, threshold, num_occur=1):
      '''
      Filter the matrix rows or columns based on num_occur values being above a
      threshold (in absolute value).
      '''
      inst_df = self.dat_to_df()
  
      inst_df = run_filter.filter_threshold(inst_df, inst_rc, threshold,
        num_occur)
  
      self.df_to_dat(inst_dff filter_threshold(self, inst_rc, threshold, num_occur=1):
      '''
      Filter the matrix rows or columns based on num_occur values being above a
      threshold (in absolute value).
      '''
      inst_df = self.dat_to_df()
  
      inst_df = run_filter.filter_threshold(inst_df, inst_rc, threshold,
        num_occur)
  
      self.df_to_dat(inst_df)
docs: Filter the matrix rows or columns based on num_occur values being above a
      threshold (in absolute value).