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

Adjusting tex-escaping of underscores.

parent bfddf72c
No related branches found
No related tags found
No related merge requests found
...@@ -670,7 +670,7 @@ def plot_scatterplot(outfile, data, data_groups, group2colour): ...@@ -670,7 +670,7 @@ def plot_scatterplot(outfile, data, data_groups, group2colour):
plt.scatter( plt.scatter(
data[data_groups==i, 0], data[data_groups==i, 0],
data[data_groups==i, 1], data[data_groups==i, 1],
color=colour, lw=2, label=group) color=colour, lw=2, label=texscape(group))
plt.xlabel("PC1") plt.xlabel("PC1")
plt.ylabel("PC2") plt.ylabel("PC2")
plt.legend(loc="best", shadow=False, scatterpoints=1) plt.legend(loc="best", shadow=False, scatterpoints=1)
...@@ -1262,11 +1262,10 @@ rule make_MA_plot: ...@@ -1262,11 +1262,10 @@ rule make_MA_plot:
group2colour=group2colour, group2colour=group2colour,
lfc_range = params.lfc_range, lfc_range = params.lfc_range,
fold_type = "log2FoldChange", fold_type = "log2FoldChange",
title=texscape( title="MA-plot for %s, %s_%s" % (
"MA-plot for %s, %s_%s" % ( wildcards.contrast,
wildcards.contrast, wildcards.orientation,
wildcards.orientation, wildcards.biotype))
wildcards.biotype)))
################## ##################
......
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