ggsankey icon indicating copy to clipboard operation
ggsankey copied to clipboard

Highlight one specific flow. (2 flows leaving from one node)

Open ZheFrench opened this issue 2 years ago • 1 comments

I have a node with two flows to two different next nodes. VEGFC -> NRP2 / VEGFC -> ITGB1

I want to color one flow only.

scale_fill_manual(values = c('VEGFC' = "red",NRP2="red")

But this will color also VEGFC -> ITGB1. I want to have only VEGFC -> NRP2 colored in red.

The following give a concrete example. Is this possible ? Tks.

https://github.com/ZheFrench/pics/blob/master/GSE69667.TPMs.EMT.A549.HSapiens.TimeCourse.Rep1.csv_SANKEY.png?raw=true

ZheFrench avatar May 05 '22 19:05 ZheFrench

I'm very interested in this as well. flow.fill doesn't seem to be able to color specific flows.

bdidds2 avatar Jan 12 '23 20:01 bdidds2