Comments (3)
I think if you save it as a ggplot object and then mod it later it might work?
example
g = cnetplot(reactome, categorySize="pvalue")
g + ggtitle ( "hi") + theme(legend.position="none")
from enrichplot.
Hi Ahdee,
Thanks for your reply. I did try that approach but I can't find what elements in the ggplot object need to be modified to change the label text size and line width. Attached a screenshot of the contents of the ggplot object 'a' generated with the cnetplot function but within the object, I cannot find what modifies the text labels and line width.
Thank you.
from enrichplot.
hey @billy-s-lab from experience its usually in the layer however its kind of experimental without knowing how the plot was constrcuted. For example if the size was declared in the aes then something like this might do it.
YOURPLOT[[1]]$layers[[1]]$aes_params$size =2
from enrichplot.
Related Issues (20)
- Error in offspring.tbl_tree_item(.data = .data, .node = .node, tiponly = tiponly, : could not find function "offspring.tbl_tree_item" HOT 3
- Recolouring treeplot HOT 1
- UseMethod("rescale") error using cnetplot() function HOT 5
- Upsetplot Question
- Feature Request: Enhancements for cnetplot Function in enrichplot Package
- show all nodes but show select labels in emapplot HOT 3
- Help with the new gradient colors HOT 3
- Treeplot + group label reordering HOT 4
- emapplot and cnetplot customization (compareCluster) HOT 5
- gseaScores() HOT 1
- why does my treeplot only appear partially? HOT 2
- enhancement: cnetplot gene vs gene set node aesthetics customization
- add color setting for add_node_label function
- unexpected change of default colors/theme with enrichplot HOT 7
- pairwise_termsim Throws Error if No Significant Gene Sets HOT 4
- dotplot shows only one term HOT 2
- Fractional Genes
- compareCluster dotplot: how to modify the genesets order HOT 1
- The shape of the point changed when combining two dotplot figures into one figure. HOT 4
- How can I change the width of each coloum in the heatmap in the treeplot?
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 enrichplot.