openmolecules.org

 
Home » DataWarrior » Functionality » PCA (loading_plots)
PCA [message #360] Tue, 19 June 2018 22:09 Go to next message
khom
Messages: 4
Registered: April 2018
Junior Member
Could you please tell me how I could get access to the loading plot of a PCA analysis? Thank you.
Re: PCA [message #362 is a reply to message #360] Sun, 08 July 2018 18:33 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 146
Registered: June 2014
Senior Member
I am not sure, whether I understand your question correctly. If you intend to make a PCA from multidimensional data and then plot the 2 or 3 most significant dimensions, then you need to do these steps:

- Data-> Calculate Principal Components...
- select the columns that contain your input data (or a descriptor column of chemical structures)
- click OK

Does this answer your question?

Thomas
Re: PCA [message #365 is a reply to message #362] Tue, 10 July 2018 20:43 Go to previous messageGo to next message
khom
Messages: 4
Registered: April 2018
Junior Member
Thomas,
I am sorry that I did not pose my question clearly. The PCA plots (PC1 vs PC2, for example) generated as per your instructions are the scores, describing the relations among the observations (samples, rows); I am trying to see if the corresponding loadings plots describing the relationships among the variables (columns) can be displayed as well. Thank you.
Kellie
Re: PCA [message #366 is a reply to message #365] Wed, 11 July 2018 12:57 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 146
Registered: June 2014
Senior Member
Kellie,
thank you for clarifying. Currently the linear contribution factors (loadings) of the original dimensions are just used internally. One could think of adding a button that allows to copy them as a new table into the clipboard. A paste operation would then create a new DataWarrior file allowing to depict the contributions.
Thomas
Re: PCA [message #367 is a reply to message #366] Wed, 11 July 2018 15:30 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 146
Registered: June 2014
Senior Member
A small update: I just added a checkbox in the PCA dialog that allows to open an additional window after PCA calculation showing a table with the originally selected variables in rows and their Eigen values in columns. Plots of scores and loadings are equivalent to this example: https://learnche.org/pid/latent-variable-modelling/principal -component-analysis/interpreting-score-plots-and-loading-plo ts

Thus, the next version will have it.

Thomas
Re: PCA [message #368 is a reply to message #367] Wed, 11 July 2018 19:49 Go to previous message
khom
Messages: 4
Registered: April 2018
Junior Member
Thomas,
Thank you very much indeed!! The info from the link are very useful also.
Kellie
Previous Topic: How to enter custom core?
Next Topic: chEMBL structure download limit ?
Goto Forum:
  


Current Time: Sat Jul 21 19:20:14 CEST 2018

Total time taken to generate the page: 0.00593 seconds