--
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-software+unsub...@googlegroups.com.
To post to this group, send email to structure-software@googlegroups.com.
Visit this group at https://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.
I couldn’t find any documentation on how to do this either, so I read through the R code used to plot the graph and found that it was checking to see if a second column existed in the population order file.
The code itself is pretty hard to read, as the variables are poorly named. The parameter is called “o”, and expects a path to a whitespace delimited file that has the colour in the second column.
E.
Thanks for posting this. I searched for a while but never found a solution other than manually setting colors in illustrator etc. How did you figure this out?V
On Thu, Dec 1, 2016 at 3:52 AM, <ekir...@hotmail.com> wrote:
For anyone who stumbles across this question via google, the population colours in Treemix can be set using the second column in the optional population order file (the path to which is the second parameter to the plot_tree() function).On Tuesday, July 12, 2016 at 6:26:07 PM UTC+1, Vikram Chhatre wrote:
> I am looking for some help with assigning custom colors to population names in the Treemix plot. Essentially I am trying to replicate figure 2 from Treemix manual using a different data set.
>
>
> The code that needs tinkering is in plotting_funcs.R script line#185. If anyone has had success doing this, I would appreciate some help.
>
>
> Thanks
> Vikram
Pop1 #1f78b4
Pop2 #33a02c
--
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-software+unsub...@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
I couldn’t find any documentation on how to do this either, so I read through the R code used to plot the graph and found that it was checking to see if a second column existed in the population order file.
The code itself is pretty hard to read, as the variables are poorly named. The parameter is called “o”, and expects a path to a whitespace delimited file that has the colour in the second column.
E.
On Thursday, December 1, 2016 at 2:05:37 PM UTC, Vikram Chhatre wrote:
Thanks for posting this. I searched for a while but never found a solution other than manually setting colors in illustrator etc. How did you figure this out?V
On Thu, Dec 1, 2016 at 3:52 AM, <ekir...@hotmail.com> wrote:
For anyone who stumbles across this question via google, the population colours in Treemix can be set using the second column in the optional population order file (the path to which is the second parameter to the plot_tree() function).On Tuesday, July 12, 2016 at 6:26:07 PM UTC+1, Vikram Chhatre wrote:
> I am looking for some help with assigning custom colors to population names in the Treemix plot. Essentially I am trying to replicate figure 2 from Treemix manual using a different data set.
>
>
> The code that needs tinkering is in plotting_funcs.R script line#185. If anyone has had success doing this, I would appreciate some help.
>
>
> Thanks
> Vikram
Pop1 #1f78b4
Pop2 #33a02c
--
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-software+unsubscribe@googlegroups.com.
To post to this group, send email to structure...@googlegroups.com.
Visit this group at https://groups.google.com/group/structure-software.
For more options, visit https://groups.google.com/d/optout.
--
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-software+unsub...@googlegroups.com.
To post to this group, send email to structure-software@googlegroups.com.