From b913d20c105800e13b402b3bdaae51fed21a7b93 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Bannier Date: Tue, 17 Oct 2023 17:09:28 +0200 Subject: [PATCH] cosmit --- pydeseq2/ds.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pydeseq2/ds.py b/pydeseq2/ds.py index f71d4f1a..b2398db4 100644 --- a/pydeseq2/ds.py +++ b/pydeseq2/ds.py @@ -219,6 +219,7 @@ def __init__( self.p_values: pd.Series self.statistics: pd.Series + self.SE: pd.Series def summary( self, @@ -365,7 +366,7 @@ def run_wald_test(self) -> None: self.p_values = pd.Series(pvals, index=self.dds.var_names) self.statistics = pd.Series(stats, index=self.dds.var_names) - self.SE: pd.Series = pd.Series(se, index=self.dds.var_names) + self.SE = pd.Series(se, index=self.dds.var_names) # Account for possible all_zeroes due to outlier refitting in DESeqDataSet if self.dds.refit_cooks and self.dds.varm["replaced"].sum() > 0: