-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I adjust the pwidth to control the width of the barplot layer, as #2 told. But negative values will be missing when pwidth is higher.
ggtree(tree, layout = "radial", ladderize = FALSE, branch.length = "none", aes(color = group)) +
xlim(-10, NA) +
scale_color_viridis_d() +
ggnewscale::new_scale_color() +
geom_fruit(data = deseq_res, geom = geom_bar, stat = "identity", orientation = "y", pwidth = 0.25, offset = 0.2,
mapping = aes(x = log2FoldChange, y = row, color = color))
And it's going well, like this:
But if I ajust pwidth to 5 (or smaller than 5), I get Warning message "“Removed 355 rows containing missing values (position_stackx).”", and lose lots of negative values.
Is it suite for my situation?
Metadata
Metadata
Assignees
Labels
No labels