-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About the custom command to modified the ggplot object #93
Comments
Hey, thanks, you made my day! I would suggest making the plot as you have been and then use Let me know if this works for you. |
Did you solve your problem? |
Hi Brayan, Apologies for not responding earlier. I ultimately decided not to use the PCA biplot. Instead, I focused on the cluster analysis and the heatmap. I'm currently analyzing the spectral reflectance in the UV range of 200 to 400 nm from six rose cultivars using ChemoSpec. This approach has been very helpful because the baseline and normalization procedures were straightforward. Additionally, the cluster analysis effectively grouped the cultivars. I didn't use the biplot because I only have one sample for each cultivar. While the heatmap was generated, it has been challenging to interpret because not all the data is shown on the x-axis. Specifically, the graph only displays certain frequencies and not in wavelength order (presumably due to clustering). Do you know if it's possible to display all the data from the frequency axis on the heatmap and/or to prevent the heatmap from clustering by columns but only by rows? Again thanks for your work and your help. |
Good questions! After looking around a bit, it appears one cannot cluster just the rows and leave the columns unchanged. Even so, please re-read the help file for Also be guarded in your interpretation of any of this since you don't have replicates on cultivars. On your other question about seeing all the x-axis data. It's all there, it just that the functions don't label everything because that would be impossible to read. One thing that helps sometimes is to make a large version of the plot (I can show you how if you like). Another is the object returned by the function contains the x-axis re-ordered order, and you can use that to "see" the x-axis results in a little more detail. From the example in
Another approach: if you use Finally, if you are not getting the results you want, if you have a vis reflection instrument there's anthocyanin peaks over at 550 nm or so. |
Hi. I really like your work.
Is there anyway to remove the custom annotations from the plotScores graphs? Sometimes the annotation "centered/nonscale/classical" the overlapped with the data in the plot.
Thank you
The text was updated successfully, but these errors were encountered: