This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Slingshot python error

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: ▆

  1. └─<fn>(...)
  2. ├─slingshot::slingshot(...)
  3. └─slingshot::slingshot(...)
  4. ├─slingshot::slingshot(...)
  5. └─slingshot::slingshot(...)
  6. └─slingshot .local(data, clusterLabels, ...)
  7. ├─slingshot::getLineages(...)
  8. └─slingshot::getLineages(...)
  9. ├─slingshot::getLineages(...)
    1. └─slingshot::getLineages(...)
    2. └─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.

scprep slingshot python

Dear Maryam,

Have you used R version of that?

0 answers

No answers yet.

Log in to answer this question.