calour docs
2018.10.1
Site
General Calour concepts
Microbiome tutorials
Metabolome tutorials
Using Calour functions via the module and the Experiment class
Main classes and utility functions
Functions operating on
Experiment
object
Creating database interfaces for Calour
Page
calour.experiment.Experiment.save_metadata
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()