rbouckaert / DensiTree

Automatically exported from code.google.com/p/densitree
24 stars 3 forks source link

Variable intensity weighting for different trees? #8

Open hyanwong opened 5 years ago

hyanwong commented 5 years ago

I want to use densitree to visualize trees along a genome, but I want to weight the intensity of each individual tree by a different amount (specifically, the length of genome spanned by each tree). Is there a way to provide a separate file with relative intensities for each tree in a nexus file. Or (perhaps better) some way of embedding an intensity value in the nexus file so it can be picked up by densitree? I assume the consensus tree would need to take this weighting into account too, somehow, but that might be a bit more work.

rbouckaert commented 5 years ago

There is no direct way to do this at the moment. A quick work around is to create a tree file where you copy trees with higher weights. That way, trees will be drawn in intensity proportional to the number of copies of trees.