nolanlab / spade

SPADE: Spanning Tree Progression of Density Normalized Events
Other
46 stars 23 forks source link

How can I find which node(cluster) a certain cell in cytometry data is assigned to? #116

Closed zzf2015 closed 8 years ago

zzf2015 commented 8 years ago

I used SPADE to analyze cytometry data and successfully got the SPADE trees in PDF form. However, I want to know the exact assignment of each cluster (as I described in title). I find the "cluster" column added to the original fcs file after running SPADE and I guess I can find what I want in that column. But I cannot see any connection between the data in "cluster" column and the nodes(clusters) in SPADE trees. Any help is appreciated! Many thanks! Steven

zbjornson commented 8 years ago

I don't quite follow what you're trying to do. The cluster column is the ID of the cluster to which the cell is assigned, yes. The PDFs don't display the IDs of the cluster though. The GML files list the IDs and the x,y coordinates of the nodes. Does that get you closer to what you want?

zzf2015 commented 8 years ago

Thanks for your quick reply. I got 198 clusters(nodes). And the IDs of nodes you mentioned are supposed to be numbers from I to 198, am I right? But the numbers in "cluster" column are not numbers from 1 to 198. For example, the first three numbers in the "cluster" column are 580.168, 1464.08 and 3.17868. And I don't know what those numbers mean.

zbjornson commented 8 years ago

That's right (although I forget, one version was 0-indexed, another was 1-indexed, so it might be 0 to 197). The clusters should be integers. Can you please triple check that you're looking at the <originalName>.cluster.fcs file, and the right column within that?

SamGG commented 8 years ago

Hi, I never did it, but may be the software you are using is scaling the cluster id. If you display that column, I think you get a limited number of discrete (separated) levels, one for each cluster.

zbjornson commented 8 years ago

Closing due to age. Please feel free to re-open if you have any more questions.