summaryrefslogtreecommitdiff
path: root/scripts/pa-table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pa-table.rb')
-rwxr-xr-xscripts/pa-table.rb11
1 files changed, 3 insertions, 8 deletions
diff --git a/scripts/pa-table.rb b/scripts/pa-table.rb
index 559f99f..af3ab21 100755
--- a/scripts/pa-table.rb
+++ b/scripts/pa-table.rb
@@ -1,11 +1,6 @@
#!/usr/bin/env ruby
puts '
-%\documentclass{article}
-%\usepackage{color, colortbl, a4wide}
-%\usepackage{longtable}
-%\begin{document}
-\pagestyle{empty}
\definecolor{red}{rgb}{1,0,0}
\definecolor{lightred}{rgb}{0.5,0,0}
\definecolor{green}{rgb}{0,1,0}
@@ -13,7 +8,8 @@ puts '
\definecolor{grey}{rgb}{0.5,0.5,0.5}
\tiny
\begin{longtable}{rcccccc}
-%\begin{tabular}{cccccc}
+\caption{Summary of pyrrolizidine alkaloid predictions: red: mutagen, green: non-mutagen, grey: no prediction, dark red|green: low confidence} \\\\
+\label{tab:pa}
& & \multicolumn{2}{c}{lazar} & \multicolumn{3}{c}{R} \\\\
'
#header = ["ID","measured","lazar"]
@@ -86,7 +82,6 @@ puts '\renewcommand{\arraystretch}{0.075}'
tab.collect!{|t| t + ''}
puts tab.join(" \\\\ \n")
puts '
-%\end{tabular}
\end{longtable}
-%\end{document}
+\normalsize
'