'gpls' package, principle component loadings
1
0
Entering edit mode
@ignatius-pang-4784
Last seen 9.3 years ago
Australia
Hi, I am using the 'gpls' package, and would like to obtain the loadings for the 1st and 2nd principle components. It will be useful to update the package in such a way so that it can provide these loadings, for the function 'glpls1a'. Would someone please help me update the package? I suggesting a simple change to the function, so that it returns the internal variable 'W', which is likely to contain the loadings. Would someone please let me know if it is correct? Thank you in advance. Regards, Ignatius Ignatius Pang PhD, Biotechnology, UNSW NSW Systems Biology Initiative University of New South Wales, Sydney, NSW, Australia, 2052 i.pang@unsw.edu.au | www.systemsbiology.org.au <http: www.systemsbiology.org.au=""/> [[alternative HTML version deleted]]
• 1.0k views
ADD COMMENT
0
Entering edit mode
rgentleman ★ 5.5k
@rgentleman-7725
Last seen 9.6 years ago
United States
Hi Ignatius, On Tue, Aug 2, 2011 at 2:21 AM, Ignatius Pang <ignatius.pang at="" gmail.com=""> wrote: > Hi, > > > > I am using the 'gpls' package, and would like to obtain the loadings for the > 1st and 2nd principle components. It will be useful to update the package in I don't believe that those components are referred to as principle components, loadings or something like that is, I believe, the more common term. > such a way so that it can provide these loadings, for the function > 'glpls1a'. Would someone please help me update the package? I suggesting a > simple change to the function, so that it returns the internal variable 'W', > which is likely to contain the loadings. Would someone please let me know if > it is correct? Thank you in advance. I don't know if it is correct - you can look at W when running the function (use R's function debug) and once you are sure you know what you would like to have returned I would be happy to modify the package. best wishes Robert > > > > Regards, > > > > Ignatius > > > > > > Ignatius Pang > > PhD, Biotechnology, UNSW > > NSW Systems Biology Initiative > University of New South Wales, Sydney, NSW, Australia, 2052 > > i.pang at unsw.edu.au | www.systemsbiology.org.au > <http: www.systemsbiology.org.au=""/> > > > > > > > > > > > ? ? ? ?[[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Robert Gentleman rgentlem at gmail.com
ADD COMMENT
0
Entering edit mode
Hi Robert, Thank you for your prompt reply. I had a closer look at the function and documentations on partial least squares. Would you please help me update the ' glpls1a' function in the 'gpls' package, so that it returns the internal variable capital 'P'? This will give me the loadings matrix, which is similar in concept to the principle components in principle component analyses. Thank you in advance. Best Regards, Ignatius -----Original Message----- From: Robert Gentleman [mailto:rgentlem@gmail.com] Sent: Tuesday, August 02, 2011 11:45 PM To: Ignatius Pang Cc: bioconductor at stat.math.ethz.ch Subject: Re: [BioC] 'gpls' package, principle component loadings Hi Ignatius, On Tue, Aug 2, 2011 at 2:21 AM, Ignatius Pang <ignatius.pang at="" gmail.com=""> wrote: > Hi, > > > > I am using the 'gpls' package, and would like to obtain the loadings > for the 1st and 2nd principle components. It will be useful to update > the package in I don't believe that those components are referred to as principle components, loadings or something like that is, I believe, the more common term. > such a way so that it can provide these loadings, for the function > 'glpls1a'. Would someone please help me update the package? I > suggesting a simple change to the function, so that it returns the > internal variable 'W', which is likely to contain the loadings. Would > someone please let me know if it is correct? Thank you in advance. I don't know if it is correct - you can look at W when running the function (use R's function debug) and once you are sure you know what you would like to have returned I would be happy to modify the package. best wishes Robert > > > > Regards, > > > > Ignatius > > > > > > Ignatius Pang > > PhD, Biotechnology, UNSW > > NSW Systems Biology Initiative > University of New South Wales, Sydney, NSW, Australia, 2052 > > i.pang at unsw.edu.au | www.systemsbiology.org.au > <http: www.systemsbiology.org.au=""/> > > > > > > > > > > > ? ? ? ?[[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Robert Gentleman rgentlem at gmail.com
ADD REPLY

Login before adding your answer.

Traffic: 632 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6