GithubHelp home page GithubHelp logo

Comments (12)

KangchengHou avatar KangchengHou commented on August 22, 2024

This should be due to some version inconsistency (we updated scdrs.util.plot_group_stats only very recently, sorry!)

Follows are options you can proceed:

  1. update to the github master version:
git clone https://github.com/martinjzhang/scDRS.git
cd scDRS
pip install -e .

which will use the latest code

def plot_group_stats(

  1. skip the plotting for now until we push another release (you should be able to run through other parts of the tutorial without calling this function)

from scdrs.

vicscott avatar vicscott commented on August 22, 2024

I met the same problem. So I would like to appreciate if there are some advice to plot like scdrs.util.plot_group_stats according to the scdrs_group.level1class file. And another question is that I don't known what happened to my scdrs_group.level1class file that the nfdr_* are all 0.

from scdrs.

KangchengHou avatar KangchengHou commented on August 22, 2024

hi @vicscott can you try

git clone https://github.com/martinjzhang/scDRS.git
cd scDRS
pip install -e .

to update to the latest version (we will soon push that to the pip). And can you replicate what you are seeing following https://martinjzhang.github.io/scDRS/notebooks/quickstart.html?

from scdrs.

vicscott avatar vicscott commented on August 22, 2024

from scdrs.

KangchengHou avatar KangchengHou commented on August 22, 2024

that bug is fixed after v1.0.1 (and we will have a new version for that). For scdrs_group.level1class
Could you confirm you are seeing different things than this?
image

from scdrs.

vicscott avatar vicscott commented on August 22, 2024

from scdrs.

KangchengHou avatar KangchengHou commented on August 22, 2024

Hi please try pip install scdrs==1.0.2 and feel free to reopen if this bug pertains.

from scdrs.

econnolly7 avatar econnolly7 commented on August 22, 2024

Hi there. Awesome package. I just installed scdrs v1.0.2 and after running plot_group_stats() on the demo dataset from the quickstart guide I get the following error:

util.py:557: UserWarning: Tight layout not applied. The bottom and top margins cannot be made large enough to accommodate all axes decorations.

Let me know what I should do. Thanks so much!

from scdrs.

martinjzhang avatar martinjzhang commented on August 22, 2024

Hi,

This seems to be due to the figure size being too small. Having a larger figure should fix the problem, e.g., plt.figure(figsize=[width, height]) with large numbers for width and height.

I will wait for @KangchengHou for more detailed replies.

Best,
Martin

from scdrs.

KangchengHou avatar KangchengHou commented on August 22, 2024

@econnolly7 yes it is due to plotting settings. I will add more options to the plotting functions and will reply further here.

But you should be able to proceed the rest of the tutorial (e.g., looking at the numerical results)

from scdrs.

vicscott avatar vicscott commented on August 22, 2024

from scdrs.

KangchengHou avatar KangchengHou commented on August 22, 2024

this should be addressed in f1b83e4. feel free to reopen

from scdrs.

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.