-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Loadings cutoff option (PCA) #212
Comments
Could you give an example use of the |
Following the example you use to illustrate your package:
If you do: Standard deviations (1, .., p=4): Rotation (n x k) = (4 x 4): Then with a cutoff option, you could select those above a threshold [absolute 0.7 for instance (to take loadings above 0.7 or below -0.7)] in PC1 and PC2, which are the ones you want to plot:
Then in the final plot you would only see Sepal.Width and Petal.Length. |
Thank you! This looks very useful indeed. Would you like to submit changes to support this feature? |
I'm very sorry, but I'm not very familiar with GitHub, so I actually don't know how to do that. And neither how to submit a pull request, although I have the feeling is the same thing haha. I will read the guide I try it soon. |
Okay great. I won't have time to get to this soon so feel free to give it a try! |
Hi @terrytangyuan, has anyone made progress in implementing this yet (or a workaround) ? I'd certainly be interested as a side project. |
Nope. Go ahead |
Hello!
First, thank you for developing the package, it has been very useful.
I actually open an issue to request (if possible) a new feature at plotting the factor loadings in a PCA. There are already nice aesthetic options for the loadings. However, I would be interested on setting a loadings.cutoff option to select the desired ones. When working with PCAs based on many variables (50 in my case) it can become very messy even when playing with sizes and all. Furthermore, there are some factors that I may not be interested on, because they don't explain any variance in the samples, so it's also a nice feature to filter-out some factors.
Thank you in advance.
Regards,
Cristian
The text was updated successfully, but these errors were encountered: