Slingshot python error
0
0
Entering edit mode
2.5 years ago

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 • 548 views
ADD COMMENT
0
Entering edit mode

Dear Maryam,

Have you used R version of that?

ADD REPLY

Login before adding your answer.

Traffic: 2420 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6