Dear scverse community,
I’m learning the new cellflow framework for modeling perturbation with other covariates(such as donor) via the tutorial using cytokines on PBMCs( Predicting donor-specific cytokine effects on PBMCs - cellflow documentation ). It is challenging to understand how ESM2 model is used to encode the cytokine and donor column in adata.obs into dict of arrays with 2560 and 2500 elements for each category. I wonder if I read it correctly and if there is any scripts out there that illustrate the precompute steps from cellflow.
Any illustration or explanation would be highly appreciated!
Weihang