Search
Question: clusterProfiler - interpretation of enrichMap
0
gravatar for Jane Merlevede
9 months ago by
Jane Merlevede90 wrote:

Hello,

I am using enrichMap() on the results of enrichGO() and enrichDO() in clusterProfiler package. I would like some precisions and validations of what I understand from this map.

- a vertex represents a category ; its size represents the number of genes from the input that belong to this category - its colour represents the adjusted p-value showing the enrichment of this category. Is it possible to add a legend as in dotplot()?

- a edge represents the relationship between 2 categories. Does it represent the number of genes from the input shared between the 2 categories? Does the width of the edge represent the number of common genes between the 2 categories?

- Does it mean something when two edges intersect, with no common vertex between the edges?

- Do you have a hint to choose the number of vertices to plot or is it only based on how it looks?

Thank you in advance for your answers.

Jane

ADD COMMENTlink modified 6 days ago by maoqixing10 • written 9 months ago by Jane Merlevede90
1
gravatar for Guangchuang Yu
9 months ago by
Hong Kong
Guangchuang Yu690 wrote:
1. adding a legend in enrichMap is currently not supported. 2. Yes, if two categories have genes shared, there will be an edge connect them and the width of the edge is scaled by the number of common genes between them. 3. You can specify the number by enrichMap(n=X). But I don't have suggestion for the number of categories to be plotted.
ADD COMMENTlink written 9 months ago by Guangchuang Yu690
0
gravatar for Jane Merlevede
9 months ago by
Jane Merlevede90 wrote:

Again, thank you for your answers.

- If I may come back to my third question, can you please tell me if it means something when two edges intersect?

I mean, when there are 2 independent networks (without a common vertex), they can be represented either separately or with an intersection. Does it mean something different?

 

- Can you please confirm that if two categories have genes shared among the genes from the input, there will be an edge connect them?

I mean, if 2 GO categories have common terms, but there is no gene from my input gene list common to the 2 GO categories, there won't be an edge between these 2 categories.

 

 

ADD COMMENTlink written 9 months ago by Jane Merlevede90
0
gravatar for maoqixing1
6 days ago by
maoqixing10
maoqixing10 wrote:

I want to know how to change the node size and highlight critical nodes in the enrichMap function?

Thank you!

ADD COMMENTlink written 6 days ago by maoqixing10

Currently, the only possibility is to save the enrichMap output to a igraph object and then by change the igraph object and re-plot again.

ADD REPLYlink written 3 days ago by Guangchuang Yu690
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 230 users visited in the last hour