Closed mdstobbe closed 2 years ago
Hi @mdstobbe
Thanks for giving {clustree} a go! Can you please explain what a "piediagram" is? I haven't heard that term before. Thanks!
Good morning!
Yes, of course, sorry.
We are looking to make something like this (file:///Users/mdstobbe/Downloads/pcbi.1007496.s001-3.pdf): [cid:0d906f0b-4876-4b96-910f-3db25509c081]
We used clustree for constructing the tree, but we manually replaced the circles with the piecharts.
Kind regards, Miranda
From: Luke Zappia @.> Sent: Monday, April 4, 2022 9:07 AM To: lazappi/clustree @.> Cc: MIRANDA STOBBE @.>; Mention @.> Subject: Re: [lazappi/clustree] extension (Issue #78)
Hi @mdstobbehttps://github.com/mdstobbe
Thanks for giving {clustree} a go! Can you please explain what a "piediagram" is? I haven't heard that term before. Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/lazappi/clustree/issues/78#issuecomment-1087191621, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APSE7U7JVGSLNWMS5GKLZKDVDKILBANCNFSM5SIUZCXQ. You are receiving this because you were mentioned.Message ID: @.***>
I can't see the file but I think I know what you mean. I don't have plans to add this as a feature and I think it would be very difficult to do.
The closest thing would be to write a function which calculates the proportion of samples in each cluster belonging to a particular sample or how "pure" the cluster is in terms of samples and use that to colour each node but that's probably a bit less effective than a pie chart.
Okay, thank you for letting me know!
I will continue my search for a solution.
Kind regards, Miranda
From: Luke Zappia @.> Sent: Tuesday, April 5, 2022 9:00 AM To: lazappi/clustree @.> Cc: MIRANDA STOBBE @.>; Mention @.> Subject: Re: [lazappi/clustree] extension (Issue #78)
I can't see the file but I think I know what you mean. I don't have plans to add this as a feature and I think it would be very difficult to do.
The closest thing would be to write a function which calculates the proportion of samples in each cluster belonging to a particular sample or how "pure" the cluster is in terms of samples and use that to colour each node but that's probably a bit less effective than a pie chart.
— Reply to this email directly, view it on GitHubhttps://github.com/lazappi/clustree/issues/78#issuecomment-1088335506, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APSE7U3Z6M33QKSIVKHDMX3VDPQHJANCNFSM5SIUZCXQ. You are receiving this because you were mentioned.Message ID: @.***>
Good afternoon,
The clustree R package has been very useful, thank you for providing it!
I was wondering if there would be an easy way to replace the circles in the clustree with piediagrams showing the distribution of the samples, for example the cell types in the case of single cell data. Or perhaps this could be added?
Kind regards, Miranda