I'm trying to generate a specific type of plot and would appreciate if anyone could point me towards the right direction in terms of what R package is capable of making this type of plot. Basically I'm looking at Different hematopoietic cell types and would like to have all the cell types form a tree with HSCs at the top of the tree and mature blood cells as the roots/branch ends.
On top of that layout I'd like the colours to represent one variable (Gene expression for a specific gene) and have size represent a different variable (such as DNA methylation).
My example dataset is below
I've posted an example of what I'm trying to recreate in R and would love to know if it is possible and how I would construct such a graph using my data frames. The example figure is from Bloodspot but I'm trying to recreate it with my own data and in R. This graph was produced in Javascript specifically javascript library D3, but given I don't know javascript and only know R could I recreate this in R?
I looked at some Tree packages but they are meant for phylogenetic data while I simply want to make a tree to show the relationship between the cells and have size and colour overlaid on top to show 2 separate variables.
Thank You!