CIMCB / cimcb

cimcb is a package containing the necessary tools for the statistical analysis of untargeted and targeted metabolomics data.
MIT License
11 stars 3 forks source link

plot_weights function missing #1

Open MaryAnnBlaetke opened 4 years ago

MaryAnnBlaetke commented 4 years ago

I am trying to understand the code using the jupyter notebooks from MetabProjectionViz repository, particularly those dealing with PLS. In those notebooks, there is a function 'plot_weights' used after running the bootstrapping, e.g. see this notebook, section 11.2:

bootmodel.plot_weights(PeakTable, PeakList, plot='median', ylabel='Label', sort=False)

I don't find this function 'plot_weights' anywhere in the repository. There is a similar function called 'plot_loading', but loading and weights aren't the same.

Is there a mistake in the notebooks, so that actually the loadings should be used instead, or is there some code missing here?

Thank you!