circos 绘制关系型图ribbon,并加入透明度

luminance = lum80
<<include colors_fonts_patterns.conf>>
<colors>
# r,g,b,a color definition
# a = 0 fully opaque
# a = 1 fully transparent
</colors>
<<include ideogram.conf>>
<<include ticks.conf>>

karyotype   = karyotype.soybean.txt
<image>
<<include etc/image.conf>>
24bit = yes
</image>
chromosomes_units  = 1000000
chromosomes_color   = gm01=grey,gm02=grey,gm03=grey,gm04=grey,gm05=grey,gm06=grey,gm07=grey,gm08=grey,gm09=grey,gm10=grey,gm11=grey,gm12=grey,gm13=grey,gm14=grey,gm15=grey,gm16=grey,gm17=grey,gm18=grey,gm19=grey,gm20=grey

<links>

<link>
file   = baohan.txt
ribbon = yes
flat   = yes # untwist all ribbons
radius = 0.98r
color  = 255,0,0,0.3
bezier_radius    = 0r
stroke_color     = no
stroke_thickness = 2

</link>
<link>

file   = xiangjiao.txt
ribbon = yes
flat   = yes # untwist all ribbons
radius = 0.98r

color  = 135,206,235,0.2       #  透明度设置说明; RGB颜色由三位数三组组成(网页可以查询);0.2是0-1直接的一个数字,越趋于0,透明度越高

bezier_radius    = 0r
stroke_color     = no
stroke_thickness = 2

<rules>
<rule>
condition = 1
z         = eval(average(var(size1),var(size2)))
</rule>
</rules>


</link>
</links>
<<include etc/housekeeping.conf>>
data_out_of_range* = trim

#==============================     图片效果   =================================

原文地址:https://www.cnblogs.com/jinhh/p/7902891.html