martinjzhang/scDRS

turning off fdr correction

milospjanic opened this issue · 1 comments

Hi, is there any option to turn off fdr correction while plotting scdrs.util.plot_group_stats. I would like to plot on the graph the same pvalues i get with scdrs.method.downstream_group_analysis. Right now i see they are different, way less significant pvals on the plot than in df:stats, i guess probably due to fdr correction. Thanks

Hi you can provide df_fdr_prop, df_assoc_fdr, and df_hetero_fdr to plot_group_stats. All these are #traits x #celltypes matrices. You can look up

def plot_group_stats(

to converting the dict_df_stats to these matrices.

Let me know if you have success on this.