docs: def create_matrixes(chip, input, df, args):
      # type: (Iterable[pd.DataFrame], Iterable[pd.DataFrame], pd.DataFrame, Namespace) -> List[pd.DataFrame]
      "Creates matrixes which can be written to file as is (matrix) or as bedGraph."
  
      genome = args.chromosome_sizes
  
      chip = put_dfs_in_chromosome_dict(chip)
      input = put_dfs_in_chromosome_dict(input)
      all_chromosomes = natsorted(set(list(chip.keys()) + list(input.keys())))
  
      # print("df1\n", df, file=sys.stderr)
      islands = enriched_bins(df, args)
      # print("islands1\n", islands, file=sys.stderr)
  
  
      logging.info("Creating matrixes from count data.")
      dfms = Parallel(n_jobs=args.number_cores)(delayed(_create_matrixes)(
          chromosome, chip, input, islands, genome[chromosome],
          args.window_size) for chromosome in all_chromosomes)
  
      return dfms