lazappi / clustree

Visualise Clusterings at Different Resolutions
https://lazappi.github.io/clustree/
GNU General Public License v3.0
215 stars 15 forks source link

Difference between `size` and `count` when plotting gene expression level #101

Closed denvercal1234GitHub closed 9 months ago

denvercal1234GitHub commented 9 months ago

Hi there,

Thanks for the package.

Would you mind clarifying the difference between count, size and in_prop when showing the gene expression level as color for the nodes?

Thank you for your help!

lazappi commented 9 months ago

size is related to how big the nodes are. By default it is the number of samples in each node but it can be set to something else. count and in_prop refer to properties of edges. count is the number of samples associated with an edge and in_prop is a ratio between the number of samples in the lower resolution node (the root of the edge) and the number of samples in the edge. It is designed to give an idea of the importance of each node.

Please see the function documentation and paper for more details.