-
Couldn't load subscription status.
- Fork 0
Open
Description
Currently adding condition to adata.obs like this:
adata.obs["condition"] = (roi_name.split("_")[0] if roi_name.split("_")[0] in ["IPF", "COPD", "PM08"] else "Unknown" ```
However that only works for my data, so want to remove the hard coding
Ideas:
Could add a variable list the user inputs in the config? e.g condition_names = ["IPF", "COPD", "PM08"]
However still would need the condition to be the first word in the ROI
Can I change the code so it looks for the word in the ROI?
Metadata
Metadata
Assignees
Labels
No labels