Commit 63cbe65b authored by Blaise Li's avatar Blaise Li
Browse files

Data in plot_lfc_distribution is a Series.

parent 352dc658
......@@ -454,10 +454,12 @@ def plot_lfc_distribution(res, contrast, fold_type=None):
if fold_type is None:
fold_type = "log2FoldChange"
lfc = getattr(res, fold_type).dropna() = contrast
usetex = mpl.rcParams.get("text.usetex", False)
if usetex:
lfc.columns = [texscape(colname) for colname in lfc.columns] = texscape(contrast)
else: = contrast
# lfc.columns = [texscape(colname) for colname in lfc.columns]
axis = sns.kdeplot(lfc)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment