Add the information to draw a density for the height distribution for each node in the output tree of treeannotator.
This would allow violin plots to be generated at nodes or densities to be drawn on an axis by tree rendering software (i.e., PearTree - http://github.com/artic-network/peartree).
This could be a vector of densities per height (a histogram), or a shape generated by a KDE, or some controls values for splines or something. The first would be easiest from an implementation standpoint and could be used to create a smooth curve by the visualisation programme.
Add the information to draw a density for the height distribution for each node in the output tree of treeannotator.
This would allow violin plots to be generated at nodes or densities to be drawn on an axis by tree rendering software (i.e., PearTree - http://github.com/artic-network/peartree).
This could be a vector of densities per height (a histogram), or a shape generated by a KDE, or some controls values for splines or something. The first would be easiest from an implementation standpoint and could be used to create a smooth curve by the visualisation programme.