calour.io.save

calour.io.save(exp: calour.experiment.Experiment, prefix, fmt='hdf5')[source]

Save the experiment data to disk.

Note

This function is also available as a class method Experiment.save()

Parameters:
  • exp (Experiment) – Input experiment object.
  • prefix (str) – file path to save to.
  • fmt (str) – format for the data table. could be ‘hdf5’, ‘txt’, or ‘json’.