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:
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?
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!