Skip to content
Snippets Groups Projects
Commit ba80a31e authored by Blaise Li's avatar Blaise Li
Browse files

Fixing seaborn function call.

parent 6ceb7504
No related branches found
No related tags found
No related merge requests found
...@@ -1341,9 +1341,10 @@ def plot_spikein_response(data, lib): ...@@ -1341,9 +1341,10 @@ def plot_spikein_response(data, lib):
#sns.regplot("expected_counts", lib, data, ax=axis) #sns.regplot("expected_counts", lib, data, ax=axis)
try: try:
sns.regplot( sns.regplot(
"expected_counts", lib, data=np.log10(data[["expected_counts", lib]]).replace(
np.log10(data[["expected_counts", lib]]).replace( [np.inf, -np.inf], np.nan).dropna(),
[np.inf, -np.inf], np.nan).dropna(), ax=axis) x="expected_counts", y=lib,
ax=axis)
axis.set_xlabel("log10(expected count)") axis.set_xlabel("log10(expected count)")
axis.set_ylabel("log10(TPM)") axis.set_ylabel("log10(TPM)")
except ValueError: except ValueError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment