CIRCOS教程翻译 3.3——Using z-depth

z深度,之前已经解释过了,算是优先级,值越大覆盖值小的颜色,当然z深度也有其他的功能,主配置文件如下:

<<include colors_fonts_patterns.conf>>

<<include ideogram.conf>>
<<include ticks.conf>>

<image>
<<include etc/image.conf>>
</image>

karyotype   = data/karyotype/karyotype.human.txt

chromosomes_units           = 1000000
chromosomes_display_default = no
chromosomes                 = hs1

<highlights>

z          = 0
fill_color = green

<highlight>
file       = data/3/random.highlights.txt #外圈,在ideogram里面这一层,格式为hs1 1725862 8379128 fill_color=chr7
r0         = 0.8r
r1         = 0.8r + 200p
</highlight>

<highlight>
file       = data/3/random.highlights.z_by_size.txt #中间这一层,格式为hs1 1725862 8379128 fill_color=chr7,z=68
r0         = 0.6r
r1         = 0.6r + 200p
stroke_thickness = 4
stroke_color     = white
</highlight>

<highlight>
file             = data/3/random.highlights.zr_by_size.txt #最内一层,格式为hs1 1725862 8379128 fill_color=chr7,z=68,r0=0.4r-65.3669p,r1=0.4r+65.3669p
stroke_thickness = 2
stroke_color     = black
</highlight>

</highlights>

<<include etc/housekeeping.conf>>


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值