-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hello,
I am attempting to run compute_lineage_drivers(), but no matter what value I set for "lineages" I keep getting a value error.:
File "<string>", line 421, in combined_kernel_analysis
File "/home/jw2894/.local/lib/python3.10/site-packages/cellrank/estimators/mixins/_lineage_drivers.py", line 137, in compute_lineage_drivers
_ = fate_probs[lineages]
File "/home/jw2894/.local/lib/python3.10/site-packages/cellrank/_utils/_lineage.py", line 305, in __getitem__
obj = self.__getitem(item)
File "/home/jw2894/.local/lib/python3.10/site-packages/cellrank/_utils/_lineage.py", line 424, in __getitem
obj = super().__getitem__(item)
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
The tutorial has it equal to lineages=["Delta"]
, for example, but when I've tried an array of strings containing the names of states of my cell population, I still get the same value error. I've also tried the slice [:]
on my entire array, and other ways of setting the indices.
What's wrong with the way I'm doing it? Any insight is appreciated.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested