According to Adam Gayoso, this code is not ideal because it ignores adata object validation that they worked a lot to set up. However, it seems to me that their approach doesn't work for us because we use slots with custom names.
TODO:
[x] Add test for prediction task.
[ ] Pick the most likely class for each cell at each level and put that into adata.obs column for corresponding level_keys (since we have to create those columns we might as well fill them).
According to Adam Gayoso, this code is not ideal because it ignores
adata
object validation that they worked a lot to set up. However, it seems to me that their approach doesn't work for us because we use slots with custom names.TODO: