文字替换为图形

您可以通过更改字体并将文本标签调整为所需的字形,将文本轨道转换为字形轨道。

<plot>
label_font = glyph

<rules>
...
<rule>
condition = 1
value     = m
</rule>
...
</rules>

具体调整规则见下图:

通过添加标签更方便地图形化:

区分癌症和正常样本

...
hs12 56428271 56432431 CDK4_cancer
hs12 64504506 64595566 HMGA2_cancer
hs12 64504506 64638901 P52926_cancer
...
hs10 108323411 108914282 SORCS1_omim
hs10 111614513 111673192 XPNPEP1_omim
hs10 111755715 111885310 ADD3_omim
...
hs7 139864688 139948811 DENND2A_other
hs7 140019421 140041377 ADCK2_other
hs7 140042949 140052913 NDUFB2_other
...

通过rule来选择性更改:

<rules>

flow = continue

<rule>
condition  = var(value) =~ /cancer/
color      = red
</rule>

<rule>
condition  = var(value) =~ /omim/
color      = green
</rule>

<rule>
condition  = var(value) =~ /other/
color      = blue
</rule>

<rule>
condition  = 1
value      = N
</rule>

</rules>

对于多种癌症我们还可以通过rule筛选来显示比如一种疾病的基因,不同疾病在不同的圈圈内

<plot>

r0 = 1r+10p
r1 = 1r+200p
color = red
...

<rules>

<rule>
condition  = var(value) !~ /cancer/
# hide anything that doesn't match "cancer"
show = no
</rule>

<rule>
condition  = 1
# circle
value = N
</rule>

</rules>

</plot>

results matching ""

    No results matching ""