CIRCOS教程翻译 1.8——label

来源:互联网 发布:seo排名优化是什么 编辑:程序博客网 时间:2024/05/16 05:11

label的标签有的时候没有办法完全表现出来,这个主要还是由于空间不够造成的,只看想要的基因还是很不错的,主配置文件:

karyotype = data/karyotype/karyotype.human.txtchromosomes_units = 1000000chromosomes_display_default = nochromosomes                 = /hs[1234]$/<colors>chr1* = redchr2* = orangechr3* = greenchr4* = blue</colors>chromosomes_reverse = /hs[234]/chromosomes_scale   = hs1=0.5r,/hs[234]/=0.5rn<plots><plot>type  = textfile  = data/6/genes.labels.txtr1    = 0.8r #设置label的空间范围,label可以自适应范围来确定显示多少个value值(基因名字)r0    = 0.6rlabel_font = lightlabel_size = 12p#padding    = 0p #text在角度位置的边缘距离,建议不设置#rpadding   = 0p #text在径向位置的边缘距离,建议不设置show_links     = yes #添加label具体的连线位置link_dims      = 2p,0p,10p,0p,2p #这个比较复杂,第一个参数是和r0的距离,最后一个参数是label和线的距离,第三个参数是线的长度,二和四比较麻烦,因为涉及到第6章的内容,大概的说一下就是,第二个参数是主干的长度,第四个参数是分支的长度,一般建议设置1、3、5即可link_thickness = 2plink_color     = black<rules><<include exclude.hs1.rule>><rule> condition  = var(value) =~ /a/i #取出value列的基因名字,不区分大小写如果有a字母,那么加粗该基因名字label_font = bold #svg格式可能看不出来加粗跟细的区别,强烈建议查看的时候用png格式!!!flow       = continue</rule><rule>condition  = var(value) =~ /b/i #取出value列的基因名字,不区分大小写如果有b字母,那么该基因名字颜色为蓝色color      = blue</rule></rules></plot><plot>type  = heatmapfile  = data/5/segdup.hs1234.heatmap.txtr1    = 0.89rr0    = 0.88rcolor = hs1_a5,hs1_a4,hs1_a3,hs1_a2,hs1_a1,hs1scale_log_base = 5<rules><<include exclude.hs1.rule>><rule>condition = var(id) ne "hs1"show      = no</rule></rules></plot><plot>type  = heatmapfile  = data/5/segdup.hs1234.heatmap.txtr1    = 0.90rr0    = 0.89rcolor = hs2_a5,hs2_a4,hs2_a3,hs2_a2,hs2_a1,hs2scale_log_base = 5<rules><<include exclude.hs1.rule>><rule>condition = var(id) ne "hs2"show      = no</rule></rules></plot><plot>type  = heatmapfile  = data/5/segdup.hs1234.heatmap.txtr1    = 0.91rr0    = 0.90rcolor = hs3_a5,hs3_a4,hs3_a3,hs3_a2,hs3_a1,hs3scale_log_base = 5<rules><<include exclude.hs1.rule>><rule>condition = var(id) ne "hs3"show      = no</rule></rules></plot><plot>type  = heatmapfile  = data/5/segdup.hs1234.heatmap.txtr1    = 0.92rr0    = 0.91rcolor = hs4_a5,hs4_a4,hs4_a3,hs4_a2,hs4_a1,hs4scale_log_base = 5<rules><<include exclude.hs1.rule>><rule>condition = var(id) ne "hs4"show      = no</rule></rules></plot><plot>type = histogramfile = data/5/segdup.hs1234.hist.txtr1   = 0.88rr0   = 0.81rfill_color = vdgreyextend_bin = no<rules><<include exclude.hs1.rule>></rules><<include backgrounds.conf>></plot><plot>type = histogramfile = data/5/segdup.hs1234.stacked.txtr1   = 0.99rr0   = 0.92rfill_color  = hs1,hs2,hs3,hs4orientation = inextend_bin  = no<rules><<include exclude.hs1.rule>></rules><<include axes.conf>></plot></plots><links><link>file          = data/5/segdup.txtradius        = 0.6rbezier_radius = 0rcolor         = black_a4thickness     = 2<rules><rule>condition     = var(intrachr)show          = no</rule><rule>condition     = 1color         = eval(var(chr2))flow          = continue</rule><rule>condition     = from(hs1)radius1       = 0.99r</rule><rule>condition     = to(hs1)radius2       = 0.99r</rule></rules></link></links><<include ideogram.conf>><<include ticks.conf>><image><<include etc/image.conf>>                </image><<include etc/colors_fonts_patterns.conf>> <<include etc/housekeeping.conf>> 


原创粉丝点击