Entering edit mode
2.5 years ago
sidrah.maryam
▴
60
Hello everyone, I am trying to run Slingshot for my data using the following command:
results = scprep.run.Slingshot(data_phate, metadata['Annotation'])
However, I am getting the following error:
**RRuntimeError: Fehler in if (is.na(as.numeric(omega))) { : Argument hat Länge 0
<error/rlang_error> Error:
! Argument hat Länge 0
Backtrace: ▆
- └─
<fn>
(...) - ├─slingshot::slingshot(...)
- └─slingshot::slingshot(...)
- ├─slingshot::slingshot(...)
- └─slingshot::slingshot(...)
- └─slingshot .local(data, clusterLabels, ...)
- ├─slingshot::getLineages(...)
- └─slingshot::getLineages(...)
- ├─slingshot::getLineages(...)
- └─slingshot::getLineages(...)
- └─slingshot .local(data, clusterLabels, ...)**
I searched for the possible reason, and it showed that the argument is 0 somewhere, however, it isn't. The data_phate has the column with info, and metadata ['Annotation'] has cluster information.
Please suggest any solution for it. Any help is immensely appreciated.
Thanks in advance.
Dear Maryam,
Have you used R version of that?