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

Missing one group in plot #221

Closed
janayfox opened this issue May 5, 2023 · 1 comment
Closed

Missing one group in plot #221

janayfox opened this issue May 5, 2023 · 1 comment

Comments

@janayfox
Copy link

janayfox commented May 5, 2023

Hi, I am not sure if I am doing something wrong but for some reason when I try to plot the overlap between 6 groups, one of my groups does not appear in the plot. Here is the code I am using:

BN.StF.vs.StP.DEG.list <- rownames(BN.StF.vs.StP.DEG)
BN.StF.vs.SwF.DEG.list <- rownames(BN.StF.vs.SwF.DEG)
BN.StF.vs.SwP.DEG.list <- rownames(BN.StF.vs.SwP.DEG)
BN.StP.vs.SwF.DEG.list <- rownames(BN.StP.vs.SwF.DEG)
BN.StP.vs.SwP.DEG.list <- rownames(BN.StP.vs.SwP.DEG)
BN.SwF.vs.SwP.DEG.list <- rownames(BN.SwF.vs.SwP.DEG)

BN.allDEG.list <- list(StF.vs.StP = BN.StF.vs.StP.DEG.list, StF.vs.SwF = BN.StF.vs.SwF.DEG.list,
StF.vs.SwP = BN.StF.vs.SwP.DEG.list, StP.vs.SwF = BN.StP.vs.SwF.DEG.list,
StP.vs.SwP = BN.StP.vs.SwP.DEG.list, SwF.vs.SwP = BN.SwF.vs.SwP.DEG.list)

BN.upset <- upset(fromList(BN.allDEG.list), keep.order = TRUE)

The StPvsSwP group does not show up in the plot for me.

@janayfox
Copy link
Author

janayfox commented May 5, 2023

Nevermind, I figured it out. Did not realize you had to set nsets!

@janayfox janayfox closed this as completed May 5, 2023
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