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

show all nodes but show select labels in emapplot #257

Open
SMM02 opened this issue Oct 1, 2023 · 3 comments
Open

show all nodes but show select labels in emapplot #257

SMM02 opened this issue Oct 1, 2023 · 3 comments

Comments

@SMM02
Copy link

SMM02 commented Oct 1, 2023

Hello,

How can I modify the emapplot command to show all nodes(categories) but label only some of them? Specifying categories in "showCategory" labels those but removes all other nodes as well.

For example, if there are enriched terms, "protein targeting", "protein targeting to membrane" and "protein targeting to ER", I want to show all 3 modes connected to each other but with only "protein targeting" labeled.

Thanks!

Best,
Salwa.

@huerqiang
Copy link
Contributor

There are currently no parameters to achieve this purpose, and we may support it later.

@SMM02
Copy link
Author

SMM02 commented Oct 5, 2023

Hello, thank you for your reply! Instead of labeling selected terms, is there a way to remove all labels and only keep the nodes?

Also, I ran an enrichGO for GOBP and 125 terms were enriched. When I ran pairwise_termsim and then emapplot(GOBP), only about 30 terms were randomly plotted. Why were these 30 terms shown and not all of them? Some of my terms had 2 counts and some had 14, but the "number of genes" were 3 to 12.

Thanks!

@SMM02
Copy link
Author

SMM02 commented Oct 17, 2023

Hello,
I realized I could include argument node_label="none" to remove all labels while keeping the nodes. If this argument could be modified so specific categories can be labelled instead of "all" or "none", that would be really helpful.
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

2 participants