pydiodon.load_dataset

pydiodon.load_dataset(dataset, datadir='')[source]

Loads datasets provided as examples after having cloned companion git of (py)diodon.

Parameters
dataseta string

the dataset to be load dataset, ed

datadira string

the path to find the dataset

Notes

The datasets are called in this function by a nickname, not by the filename. Nicknames are

  • diatoms_sweden for the PCA on a site $times$ environment array

  • example_CoA for an example for Correspondance Analysis

  • Guiana_trees for an example for MDS (molecular distances between markers on trees in French Guiana)

It is recommended to use this function after having cloned in ones machine the project diodon_companion from gitlab (see the readme at section install).

Then, go into directory $diodon_companion, where the dataset are, start a pydiodon session, and it should work.

If the user wishes to use this function from another directory, the path (absoute or relative) to the directory where the datasets are is given as variable datadir.

af, 23.01.13