Giter Site home page Giter Site logo

Pseudobulk issue? about decoupler-py HOT 4 CLOSED

saezlab avatar saezlab commented on June 7, 2024
Pseudobulk issue?

from decoupler-py.

Comments (4)

PauBadiaM avatar PauBadiaM commented on June 7, 2024

Hi @jackbrougher,

Thanks for checking out the package! What version of decoupler are you using? I would recommend installing the latest one using:

pip install git+https://github.com/saezlab/decoupler-py

There was a bug in the get_pseudobulk function in version 1.0.0 that should be fixed now. Else, just curious, what is your bulk_labels indicating, cell type?

from decoupler-py.

jackbrougher avatar jackbrougher commented on June 7, 2024

That checks out! I updated and the command ran! Now I just need to figure out where I'm off before that to be getting an empty dataframe when computing DEA's.

And yep - bulk_labels is my cell type label.

from decoupler-py.

PauBadiaM avatar PauBadiaM commented on June 7, 2024

You can get an empty data-frame for different reasons, actually I will implement some warnings for when these cases happen to make it more informative. The reasons can be:

  • You don't have enough samples to do a comparison. To make one, you need at least 2 samples of each group (at least 4 samples in total).
  • The condition or the reference labels are not in condition_col.
  • group_col and condition_col need to be different.

Maybe you could post the line of code that you are using so that I can see it.

from decoupler-py.

PauBadiaM avatar PauBadiaM commented on June 7, 2024

I added some warnings in the function to better know what is going wrong, you can test it if you install the latest version again. Hopefully it makes it clearer!

from decoupler-py.

Related Issues (20)

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.