calour.experiment.Experiment.save_metadata

Experiment.save_metadata(f, axis=0, **kwargs)[source]

Save sample/feature metadata to file.

Parameters:
  • f (str) – file path to save to
  • axis (0 ('s') or 1 ('f')) – 0 or ‘s’ to save sample metadata; 1 or ‘f’ to save feature metadata
  • kwargs (dict) – keyword arguments passing to pandas.DataFrame.to_csv()