On Nov 19, 2015, at 11:18 AM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:HernánCheers,Hi Alex,Yes but I just installed the version available in the Configuration Browser. I thought it was the latest one, but then I've checked in Pharo 5 the Catalog Browser seems to install another more updated version._______________________________________________2015-11-19 9:31 GMT-03:00 Alexandre Bergel <alexandre.bergel@me.com>:Don’t you want to consider in moving to the last version of Roassal?Alexandre--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Nov 18, 2015, at 6:15 PM, Hernán Morales Durand <hernan.morales@gmail.com> wrote:<LocalAncestry.jpg><Grapher_Test1.png>_______________________________________________This is what I am trying now (code is commented where I tried to configure X axis interval)Hello,I am using Roassal2 (StephanEggermont.40) in Pharo 4. The attached picture displays a common visualization for inference of local ancestry in population genetics, I have attached what I am getting now with Grapher. Input data for such visualization is for example:
1:454 2:1488 1:2546 2:5711 1:14253 2:24411 1:31490 0:41585(those are like Associations with key 0, 1 or 2 and value 454, 1488, ... etc)In the attached pictureMin X is 0 and
Max X is 41500
so the X axis (chromosome positions) is rendered in intervals between 10000.
| b intv |
intv := 0 to: 40000 by: 10000.
b := RTGrapher new.
ds := RTStackedDataSet new.
ds dotShape color: Color red.
ds
points: #(1 2 1 2 1 2 1 0);
x: intv. "????"
ds barShape width: 99; color: Color red.
"b
minX: 0;
maxX: 41500."
b add: ds.
b axisX noLabel; noTick. b axisY noDecimal.
b build.I have some questions:1) There is support to add an interval label to the X axis but preserving the space relation with the real chromosome position (the X axis) for the data (points in my example = 454 1488 2546 5711 14253 24411 31490 41585)?2) How to clear the bar filling?Any advice or help would be really nice.Hernán
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev