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

gg.cor produces incorrect plots #34

Open
rohitrrj opened this issue Jul 21, 2022 · 0 comments
Open

gg.cor produces incorrect plots #34

rohitrrj opened this issue Jul 21, 2022 · 0 comments

Comments

@rohitrrj
Copy link

Thank you for the great package.
I have noticed the implementation of gg.cor produces incorrect results!
eg. When you provide gene1 = "TCF7" and gene2 = "IFNG", it will produce an identical plot as gene1 = "IFNG" and gene2 = "TCF7"

I believe this is a result of using "subset" function which sorts the data frame and you "hard-code" the columns used for x and y in the ggplot function.

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