Treemix tree plot

1,249 views
Skip to first unread message

griffinia

unread,
Aug 27, 2013, 10:19:37 AM8/27/13
to structure...@googlegroups.com
Does anyone know how to change the position of the migration weight legend in a Treemix plot?  It is obscuring portions of my tree in the figure.

Thanks,
Alan

Joseph Pickrell

unread,
Aug 27, 2013, 3:08:05 PM8/27/13
to structure...@googlegroups.com
Hi Alan,

You can use the "ybar" option to control the y-axis position of the
weight legend in plot_tree(). For example, if you have output files
test*, then running:

plot_tree("test", ybar = 0.3)

will move the weight legend up. The default is 0.1, and the y-axis
ranges from 0 to 1.

Cheers,

Joe
> --
> You received this message because you are subscribed to the Google Groups
> "structure-software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to structure-softw...@googlegroups.com.
> To post to this group, send email to structure...@googlegroups.com.
> Visit this group at http://groups.google.com/group/structure-software.
> For more options, visit https://groups.google.com/groups/opt_out.

Charlie Spencer

unread,
Dec 30, 2013, 8:13:34 PM12/30/13
to structure...@googlegroups.com
Hi I was wondering if either of you could help. If I am simulating my own microsatellite data, can I control the migration lines between my populations, and if so how? I am testing the accuracy of Treemix, how can I produce scatterplots from the output files produced from the tree i.e the covariance matrix, and fitted covariance matrix? I am rather desperate so any help would be greatly appreciated! Thank you and Happy New Year.
Reply all
Reply to author
Forward
0 new messages