Skip to content
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

plotPCA legend #12

Open
FrAoJm opened this issue Jul 17, 2022 · 0 comments
Open

plotPCA legend #12

FrAoJm opened this issue Jul 17, 2022 · 0 comments

Comments

@FrAoJm
Copy link

FrAoJm commented Jul 17, 2022

Hi!!

I am using the "plotPCA" function from this package but I would like to add a legen to the PCA plot, but I am having some difficulties doing it. I am using an S4 SeqExpressionSet where the columns are the samples (GSMXXXXXX) and the rows are the gene IDs. The phenoData is a matrix having the same samples in rows and the condition in one of the columns.

I would like to have a legend indicating what colour corresponds to each condition to make the PCA understandable.

Is that possible?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant