Comments (8)
You can merge networks in Cytoscape using the merge tools but for use case much better to create a mastermap with all the EM features. An Enrichment map from multiple datasets. In order to automate it you have set up a directory structure where each dataset is in its own directory. EM will take the names of the directory as the name of the dataset.
For example
mastermap_dir
Dataset1
generic_EM_results_Dataset1.txt
Dataset2
generic_EM_results_Dataset2.txt
Dataset3
generic_EM_results_Dataset1.txt
Then when you are creating the enrichment map mastermap instead of specifying the individual files you specify the root directory and EM will be able to find all the datasets.
em_command = paste('enrichmentmap mastermap ',
'pvalue=',"0.5", 'qvalue=',"0.5",
'similaritycutoff=',"0.25",
'coeffecients=',"JACCARD",
'rootFolder=',egobp.results.dirname ,
sep=" ")
https://enrichmentmap.readthedocs.io/en/latest/Automating.html#enrichmentmap-mastermap
from enrichmentmapapp.
Thanks for the quick reply. I am getting this error when I am running it:
Error: Error: no such command: 'mastermap '
Do I need to call the directory in a specific way?
I am running Cytoscape on Version: 3.9.1 and RCy3_2.10.2 .
from enrichmentmapapp.
What version of enrichment map do you have? (I think it would have be a really old version of enrichment map to not have mastermap.)
In cytoscape, in the command line window when you run "help enrichmentmap" is there a "enrichmentmap mastermap" listed?
from enrichmentmapapp.
I fixed it with removing space after mastermap, also had to remove the coefficient term, as it was giving error. But this worked:
em_command = paste('enrichmentmap mastermap',
'pvalue=',"0.5", 'qvalue=',"0.5",
'similaritycutoff=',"0.25",
'rootFolder=',egobp.results.dirname ,
sep=" ")
from enrichmentmapapp.
mastermap's parameters only allow the correctly spelled coefficients but the build command because of a spelling mistake a long time ago accepts coeffecients and coefficients. If you change the parameter in your mastermap command to coefficients it should work.
I am not sure why the space gave you issues though.
from enrichmentmapapp.
Yes, that works. Thanks.
Btw, is there a way to show only the p value pie charts but not the names of the pathways? I have so many and I see them on top. I was trying to change the font, but didn't see how to do that.
from enrichmentmapapp.
Sorry. I forgot to respond to this when I first saw it.
Yes. You can suppress the labels. In EM there is a toggle button in the EM interface that hides the labels when you click "Publication ready" but unfortunately that is not available through the em commands. It might be an easy feature to add to the commands.
I think that all the feature is doing is setting the node labels to zero so you can also do that using RCy3 using the following command (but I am not sure that is still the way it is done) @mikekucera how does the publication ready work?:
https://rdrr.io/bioc/RCy3/man/setNodeFontSizeDefault.html
from enrichmentmapapp.
from enrichmentmapapp.
Related Issues (20)
- enhancement RCy3: enrichmentmap build with Great: not able to filter using binomial q value (only hypergeometric test available) HOT 1
- Mastermap with enrichmentmap of Great results: gs_size should be changed to be TotalGenes instead of ObsGenes TotalGenes HOT 6
- cytoscape Enrichment Map no responce HOT 1
- Show data set colors for AutoAnnotate summary network.
- Is it the expectation of EM that the ranks file is sorted? HOT 12
- testing EM 3.3.5 ( enhancement): be able to see full name in heatmap table headers HOT 1
- testing EM3.3.5: changing Data Set Colors change all edges to color dataset1 HOT 1
- testing EM 3.3.5: hiding one dataset reset the style. HOT 2
- dataset resolver doesn't work for FGSEA HOT 1
- EM 3.3.5: force directed layout does not work on hidden edges (but organic layout does) HOT 2
- EM 3.3.5: question? aggregated summary HOT 1
- Heatmap only displaying expression/ranks for dataset where geneset is significant eventhough it is found in the second dataset HOT 1
- EM can't recover from fdr q-value of NA - infinite loop
- Ambiguous error message - try and create EM with just enrichments, expression and ranks but forget gmt file
- Error - Gene sets in enrichment file missing from GMT file HOT 7
- EM unable to parse directories as before in Cytoscape Beta2 3.10
- Leading edge not working in EM 3.3.5
- enrichmentmap build command - two generic datasets not working properly HOT 1
- FGSEA-service: plumber rounds q-values, affects filtering HOT 2
- Expression file with blank lines at end causes unhelpful error message. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enrichmentmapapp.