corybrunson / ggalluvial

ggplot2 extension for alluvial plots
http://corybrunson.github.io/ggalluvial/
GNU General Public License v3.0
499 stars 34 forks source link

how to ignore a lot of connect line in alluvial #126

Closed honghh2018 closed 5 months ago

honghh2018 commented 10 months ago

Hi thanks to develop the great tool, I want to draw the plot like below

image But i get the ugly picture lke below, image

I am wander how to ignore the line that it was not the clone sharing. i refer to the paper Single-cell BCR and transcriptome analysis after influenza infection reveals spatiotemporal dynamics of antigen-specific B cells Any advice would be appreciated, Best, hanhuihong

corybrunson commented 10 months ago

Hi @honghh2018, it's difficult to know without example code, and i'm not sure what you mean by "the line that it was not the clone sharing". Could you elaborate on that?

One difference i see between the plots is that the second one has black outlines around the flows; these can be turned off by setting color = "transparent", i think.

Are you also trying to remove some flows from the plot?

corybrunson commented 5 months ago

Presumed resolved but please reopen if not!