TEXT LABEL

数据标签是径向放置的

数据格式:

第四列就是标签的名称。

...
hs1 225817866 225910748 ZNF678
hs1 26560711 26571853 ZNF683
hs1 40769819 40786426 ZNF684 color=red
hs1 149521414 149531004 ZNF687
...

基本的conf定义方式:

<plots>

<plot>
type             = text
color            = black
file             = data/6/text.genes.znf.txt

r0 = 0.4r
r1 = 0.8r

show_links     = yes
link_dims      = 4p,4p,8p,4p,4p         #参考上图dim的含义d1 ~ d5
link_thickness = 2p
link_color     = red

label_size   = 24p
label_font   = condensed

padding  = 0p
rpadding = 0p

</plot>

</plots>

默认参数default

见配置文件:etc/tracks/text.conf

label_font     = default
label_size     = 12
color          = black

r0             = 0.85r
r1             = 0.95r

show_links     = no
link_dims      = 2p,4p,8p,4p,2p
link_thickness = 1p
link_color     = red

padding        = 0p
rpadding       = 0p

label_snuggle             = no
max_snuggle_distance      = 1r
snuggle_sampling          = 1
snuggle_tolerance         = 0.25r

snuggle_refine                 = no
snuggle_link_overlap_test      = no
snuggle_link_overlap_tolerance = 2p

要关闭所有默认配置设置:

<> track_defaults* = undef

标签跨度设置

标签的半径是由r0和r1决定的。一般为了让标签完全显示,我们通常会把r1增大一些。

r0         = 1.05r
r1         = 1.05r+300p 
label_size = 100p

使用debug检测标签是否被完整绘制

> circos ... -debug_group textplace
...
debuggroup textplace 2.06s not_placed hs1 10000 20000 gene1
debuggroup textplace 2.06s not_placed hs1 30000 40000 gene2
...

not_placed表示没有被绘制

标签旋转

当我们的标签只有一个字符时(最好),我们可以设置其不旋转,这样更便于查看。

<plot>
...
label_rotate = no
</plot>

results matching ""

    No results matching ""