Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to interpret the results(output.weights.csv) #32

Open
Galaxy-228 opened this issue Jul 22, 2022 · 3 comments
Open

How to interpret the results(output.weights.csv) #32

Galaxy-228 opened this issue Jul 22, 2022 · 3 comments

Comments

@Galaxy-228
Copy link

Hi Simon:
After i run : python twisst.py -t B16_sonic_953pep_iqtree_root.nwk -w output.weights.csv --outputTopos topologies.trees --method complete -g D 1,2,3 -g C 4,5 -g B 6,7,8 -g A 9,10,11.
i got the result file :output.weights.csv
图片
But i do not understand thoes numbers below each "topo".
Thanks!

@simonhmartin
Copy link
Owner

Hi, Those numbers are the absolute topology weights. You can convert them to relative weights by dividing by the sum for each row. Alternatively, I have provided R functions for importing and plotting the results. See the script called example_plot.R

@Galaxy-228
Copy link
Author

Hi Simon:
Thanks so much for your kindly reply!
If i just have weights file (without the window data), what is the best way to show(plot) my data?

Best wishes~

@simonhmartin
Copy link
Owner

It should be possible to simply import the weights without specifying the window data file. The position of each window will then just be assigned as 1, 2, 3 etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants