Giter Club home page Giter Club logo

astralplane's Issues

astralProjection is not plotting the proportion of gene trees (f1/2/3)

Hi!!

Thank you for developing this package! :)

I am trying to plot my tree (from Astral III) using the following lines:

Using a premade tree:

outgroups = c("rr573")
astral.data = createAstralPlane(astral.tree = "path/mytree.tre",
outgroups = outgroups,
tip.length = 1)
quartetplots <- astralProjection(astral.plane = astral.data,
local.posterior = TRUE,
pie.plot = TRUE,
pie.data = "genetree",
pie.colors = c("blue", "purple", "green"),
node.color.text = c("black"),
node.color.bg = c("transparent"),
node.label.size = 1,
tip.label.size = 1,
pie.chart.size = 0.25)

It works, but If I change the argument "pie.data" to "pie.data = "qscore"", the piecharts that I obtain are the same (as the ones that I obtain with "pie.data = "genetree"") and correspond to the qscores.

I checked "astral.data" and it reads properly q1/2/3 and f1/2/3 as numbers.

The format of the labels of my tree is the following: "q1=0.3889582631081762;q2=0.257503503098498;q3=0.3535382337933258;f1=77.01373609541889;f2=50.985693613502605;f3=70.0005702910785;pp1=0.7825751429664773;pp2=0.03226467744511558;pp3=0.1851601795884253;QC=390;EN=198.0"

I don't see any warnings at any point of the process. I have tried erasing the q1/2/3 form the tree and I simply lose the piecharts, it does not use the f1/2/3. Any clues? Am I doing something incorrectly?

Thank you very much!!!
Paloma :)

Question: wASTRAL

Thanks for making this analysis tool, I have data that generally performs better with weighted astral. I am curious if there are plans to implement this analysis in AstralPlane?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.