Closed twoneu closed 1 year ago
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:
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 https://github.com/martinjzhang/scDRS/blob/06e6df054295137bd8b686862234c7f9b4b64347/scdrs/util.py#L451
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)
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 scdrsgroup.level1class file that the nfdr* are all 0.
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?
My scrds version is v1.0.1, and it still report like above after I run these git and pip commands. By the way, thanks for your reply.
---Original--- From: "Kangcheng @.> Date: Fri, Sep 9, 2022 23:48 PM To: @.>; Cc: @.**@.>; Subject: Re: [martinjzhang/scDRS] KeyError: at plot_group_stats step (Issue #24)
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?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
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?
I found that the function called group_stats containing the argument "fdr_prop" was deprecated in method.py, but "fdr_prop" was still a requisite for the function called plot_group_stats.
---Original--- From: "Kangcheng @.> Date: Sat, Sep 10, 2022 00:08 AM To: @.>; Cc: @.**@.>; Subject: Re: [martinjzhang/scDRS] KeyError: at plot_group_stats step (Issue#24)
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?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Hi please try pip install scdrs==1.0.2
and feel free to reopen if this bug pertains.
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!
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
@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)
I am sure that the version is v1.0.1,
vic @.***
------------------ 原始邮件 ------------------ 发件人: "martinjzhang/scDRS" @.>; 发送时间: 2022年9月10日(星期六) 凌晨0:08 @.>; @.**@.>; 主题: Re: [martinjzhang/scDRS] KeyError: at plot_group_stats step (Issue #24)
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?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
this should be addressed in f1b83e4. feel free to reopen
Hi! Thanks again for a great package. I was running the code in the Quick Start tutorial and hit the following error when plotting the group level statistics:
I am able to generate df_fdr_prop using the following code snippet:
How should I proceed? Thank you!