skbio.stats.gradient.GroupResults.to_files

GroupResults.to_files(out_f, raw_f)[source]

Save the trajectory analysis results for a category group to files

State: Experimental as of 0.4.0. in text format.

Parameters
  • out_f (file-like object) – File-like object to write trajectory analysis data to. Must have a write method. It is the caller’s responsibility to close out_f when done (if necessary)

  • raw_f (file-like object) – File-like object to write trajectories trajectory values. Must have a write method. It is the caller’s responsibility to close out_f when done (if necessary)