diff --git a/RNA_Seq_Cecere/RNA-seq.snakefile b/RNA_Seq_Cecere/RNA-seq.snakefile index 165feb93abb7b4a762c204efbbe32373b94cf12d..03798aa83efc0bcf60306cf33fa7cf1af9f57d50 100644 --- a/RNA_Seq_Cecere/RNA-seq.snakefile +++ b/RNA_Seq_Cecere/RNA-seq.snakefile @@ -1341,9 +1341,10 @@ def plot_spikein_response(data, lib): #sns.regplot("expected_counts", lib, data, ax=axis) try: sns.regplot( - "expected_counts", lib, - np.log10(data[["expected_counts", lib]]).replace( - [np.inf, -np.inf], np.nan).dropna(), ax=axis) + data=np.log10(data[["expected_counts", lib]]).replace( + [np.inf, -np.inf], np.nan).dropna(), + x="expected_counts", y=lib, + ax=axis) axis.set_xlabel("log10(expected count)") axis.set_ylabel("log10(TPM)") except ValueError: