User: Zuguang Gu

gravatar for Zuguang Gu
Zuguang Gu70
Reputation:
70
Status:
Trusted
Location:
Germany
Last seen:
1 week, 3 days ago
Joined:
4 years ago
Email:
z***@dkfz.de

Posts by Zuguang Gu

<prev • 5 results • page 1 of 1 • next >
1
vote
1
answer
108
views
1
answers
Comment: C: Align legends to each heatmap in a ComplexHeatmap with 2 heatmaps
... OK, I see. You want to put the two heatmaps together so that you can compare directly between the two heatmaps. The thing is if you add two heatmaps, the legends are always plotted together. One way I can think to improve this is to move the legends to the bottom of the heatmap: ```r hmap1 <- H ...
written 12 days ago by Zuguang Gu70
0
votes
1
answer
28
views
1
answers
Answer: A: ComplexHeatmap : can't find the arguments inherited from the previous version
... Yes, these arguments are new fro v1.99.0, you need to update the package. ...
written 12 days ago by Zuguang Gu70
2
votes
1
answer
108
views
1
answers
Answer: A: Align legends to each heatmap in a ComplexHeatmap with 2 heatmaps
... No, since you put the two heatmaps as one plot, the legends are grouped. You can either edit in Inkscape or make two heatmaps in two plots. You can get the column of the first heatmap by: ```r hmap1 = draw(hmap1) column_order = column_order(hmap1) ``` and assign to the second heatmap: ```r Heatm ...
written 13 days ago by Zuguang Gu70
2
votes
1
answer
146
views
1
answers
Answer: A: Make UpSet function display numbers above the bars
... I am not sure whether it is a good idea to put numbers close to the bars, because you can easily get these numbers from the axis. Since the annotations are just simple barplots annotations, you can use `decorate_annotation()` function to add these numbers. Currently, the solution to your problem i ...
written 12 weeks ago by Zuguang Gu70
2
votes
1
answer
569
views
1
answers
Answer: A: Combining ComplexHeatmap with other plot types
... You can use `grid.grabExpr()` to capture the output of ComplexHeatmap as a `grob` object and later you can arrange this `grob` object by other packages which do layout. Note you need to explicitly use `draw()` on the heatmap object. grob = grid.grabExpr(draw(Heatmap(...)))  ...
written 18 months ago by Zuguang Gu70

Latest awards to Zuguang Gu

Scholar 3.7 years ago, created an answer that has been accepted. For A: Combining ComplexHeatmap with other plot types

Help
Access

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