Giter Club home page Giter Club logo

Comments (3)

josef0731 avatar josef0731 commented on June 26, 2024

Hi,

This is not a technical (i.e. software dependency) issue - but a data-related one. Your error/warning messages suggest the neighbour graph constructed to describe the data is disconnected:

WARNING: Biased k-NN graph is disconnected
Error in py_call_impl(callable, dots$args, dots$keywords) :
ValueError: Input matrix is not weakly connected. Therefore it has no unique stationary distribution. Separate disconnected components and handle them separately

The warning/error messages are directly from CellRank (hence the py_call...). My guess is the dataset you selected has disparate sets of cells where (transcriptomically) they just are too distinct and therefore end up as separate 'clusters' and therefore the program struggles with predicting transitions between them. We did encounter this when we tested these on datasets and usually it is an indication of us needing to subset data ...

from scicsr.

WhaleGe avatar WhaleGe commented on June 26, 2024

Hello, I have solved this problem so far. I guess this may still be a technical problem. I speculate that some information may be lost during the conversion process using convertSeuratToH5ad. This problem does not occur when using other software packages that convert rds to h5ad (for example: scdior). Thank you very much for answering my question.

Hi,

This is not a technical (i.e. software dependency) issue - but a data-related one. Your error/warning messages suggest the neighbour graph constructed to describe the data is disconnected:

WARNING: Biased k-NN graph is disconnected
Error in py_call_impl(callable, dots$args, dots$keywords) :
ValueError: Input matrix is not weakly connected. Therefore it has no unique stationary distribution. Separate disconnected components and handle them separately

The warning/error messages are directly from CellRank (hence the py_call...). My guess is the dataset you selected has disparate sets of cells where (transcriptomically) they just are too distinct and therefore end up as separate 'clusters' and therefore the program struggles with predicting transitions between them. We did encounter this when we tested these on datasets and usually it is an indication of us needing to subset data ...

from scicsr.

josef0731 avatar josef0731 commented on June 26, 2024

Glad you have solved your problem - I have been looking into changing the engine behind conversion of the Seurat and AnnData objects - it seems there are better alternatives to SeuratDisk in doing this. Will add this as a To-Do. Thanks again for trying sciCSR!

from scicsr.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.