Closed GordianArnav closed 8 months ago
This is possible but would require some changes to the dataloader
Specifically, in this section, for each sample perturbed cell the dataloader will randomly pick a control cell as the basal state X
which is appended to the vector of basal states Xs
You would have to update this code to choose from different control populations based on the perturbed cell.
It sounds straightforward but the actual implementation may end up requiring additional changes. We've been experimenting with something similar internally. Let me know if you have any other questions.
Is there a way to match 'A+ctrl1' to 'ctrl1' cells and 'A+ctrl2'to 'ctrl2' in the same adata object?