HelenaLC / CATALYST

Cytometry dATa anALYsis Tools
67 stars 30 forks source link

question with extractClusters function #320

Closed jenkinmt closed 2 months ago

jenkinmt commented 1 year ago

hello, I am trying to export clusters as fcs files for subsequent analysis in cytobank. my experiment metadata had 10 total mice in 2 genotypes, with 6 different stimulations. however when i extracted clusters to fcs, it did not split them up based on the metadata but rather just lumped all the cells from each metacluster together. is there a way to write each cluster as an fcs file for each experimental condition?

Thanks Matt Jenkins

SamGG commented 1 year ago

Hi, I don't have the answer. I am just curious why you want to go back to cytobank? what subsequent analysis do you think about? Best.

jenkinmt commented 1 year ago

Hi, I am wanting to do some cluster gating to assess signaling responses to cytokines based on % in gate for pstat1, pstat3, etc etc within my clusters. thanks Matt

On Jan 17, 2023, at 12:22 PM, Samuel Granjeaud @.**@.>> wrote:

Hi, I don't have the answer. I am just curious why you want to go back to cytobank? what subsequent analysis do you think about? Best.

— Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FHelenaLC%2FCATALYST%2Fissues%2F320%23issuecomment-1385843359&data=05%7C01%7Cmatthew.t.jenkins%40vanderbilt.edu%7C9dcc50e52bab412fb28208daf8b7bcb0%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638095765273285136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MPc69ot%2FQ%2BzHlPufOWVY9QzKJOwImV8ZpQsO03ACm1A%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASTAD46ZGGILXUU5WJFT4ULWS3PMZANCNFSM6AAAAAAT6DPAQY&data=05%7C01%7Cmatthew.t.jenkins%40vanderbilt.edu%7C9dcc50e52bab412fb28208daf8b7bcb0%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C638095765273285136%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=A9RFUzcJFJOShGVg4T8RzUe6fy%2FezrofsJGnqaNW2sA%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

SamGG commented 1 year ago

Thanks for your feedback. While MFI might be a way to identify a change in a state/signling marker, I am convinced that gating is more sensitive and informative. a) Did you try to include the signaling markers in the clustering step (FlowSOM I guess) in order to automate the pos/neg separation? b) I think sce could be split in a list of 2 sce according the condition column data. c) Take a look at sce2fcs() as it allows to split the sce object into a flowSet using a split parameter chosen from colData(sce). Maybe it could help. There is an example at https://github.com/HelenaLC/CATALYST/issues/181#issuecomment-1057821016 d) your current probably have a cluster_id column that might allow you to gate and extract the desired clusters. Hope this help while waiting for Helena's answer. Best PS: could you edit your previous reply in order to keep the thread clean. Thanks.

HelenaLC commented 2 months ago

Closing due to inactivity.