Data filtering using rules not working

15 views
Skip to first unread message

Human Genomics

unread,
Nov 9, 2022, 2:54:02 PM11/9/22
to Circos
I am trying to plot histogram track with data containing positive and negative values. Below is the example data:
chr1    88031   88081   -3.76
chr1    88235   88285   -5.14
chr1    93151   93201   -2.69
chr1    305243  305293  1.80
chr1    507124  507174  2.46
chr1    717471  717521  -2.41
chr1    2096400 2096450 2.13
chr1    2102635 2102685 5.10

While plotting I dont want to use min and max to restrict the data but to use rules. When I use the rule: 
condition  = abs(var(value)) > 5 
show       = no
 
it works. But if I want to take only those values between (5 to 7 and -7 to -5)

condition  = abs(var(value)) > 5 && abs(var(value)) < 7
show       = yes 

it does not appear to work. Kindly advice 

Reply all
Reply to author
Forward
0 new messages