clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

plotting only GO terms of interest from gseGO results

Open indraroy opened this issue 1 year ago • 0 comments

Hello, First of all, thank you so much for making such an amazing and helpful tool. I haven't been able to figure out how to do this based on existing forum discussions & documentations. But, is there a way to visualize only parts of the gseGO results based on a data.frame of selected GO terms (e.g., manually making one based on the molecular functions we're interested in).

As an example, this would be a dotplot of GO terms selected as an input and ignoring all other GO values. Suppose I was only interested in showing whether immune-related functions were up or down-regulated in a given set, and I made a df of those terms. Then, I would want to make a dotplot of my gseGO results only for the GO terms I've selected.

Additionally, would it be possible to do this for multiple gseGO results, but using the same list of GO terms? So, I would have one dotplot showing whether the selected terms are up/down in my gseGO analysis of multiple datasets.

If anyone has figure it out I would love a hint or two.

indraroy avatar Jul 15 '22 21:07 indraroy