\documentclass{article} \usepackage { Sweave } \usepackage{fullpage} \setlength\parindent{0pt} \usepackage{mathptmx} \usepackage[11pt]{moresize} \usepackage{xcolor,colortbl} \newcommand{\mc}[2]{\multicolumn{#1}{c}{#2}} \definecolor{Gray}{gray}{0.85} \usepackage{tabularx} \usepackage{array} \usepackage{soul} \usepackage{xcolor} \newcommand\tab[1][1cm]{\hspace*{#1}} \usepackage{lscape} \title {My tab formats} \author {Rebecca Asiimwe} %Suppress the date using: \date{} \begin{document} \SweaveOpts{concordance=TRUE} %\begin{landscape} %\begin{tabular}{l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l|l} %\hline %Sample & Number\_of\_input\_reads & Memory\_8threads\_STAR & Memory\_16threads\_STAR & Memory\_32threads\_STAR & Mapping\_Speed\_8threads\_STAR & Mapping\_Speed\_16threads\_STAR & Mapping\_Speed\_32threads\_STAR & Wall\_Clock\_8threads\_STAR & Wall\_Clock\_16threads\_STAR & Wall\_Clock\_32threads\_STAR & Memory\_8threads\_STAR\_WASP & Memory\_16threads\_STAR\_WASP & Memory\_32threads\_STAR\_WASP & Mapping\_Speed\_8threads\_STAR\_WASP & Mapping\_Speed\_16threads\_STAR\_WASP & Mapping\_Speed\_32threads\_STAR\_WASP & Wall\_Clock\_8threads\_STAR\_WASP & Wall\_Clock\_16threads\_STAR\_WASP & Wall\_Clock\_32threads\_STAR\_WASP & Memory\_8threads\_WASP & Memory\_16threads\_WASP & Memory\_32threads\_WASP & Mapping\_Speed\_8threads\_WASP & Mapping\_Speed\_16threads\_WASP & Mapping\_Speed\_32threads\_WASP & Wall\_Clock\_8threads\_WASP & Wall\_Clock\_16threads\_WASP & Wall\_Clock\_32threads\_WASP\\ %\hline \resizebox{\columnwidth}{!}{% %\resizebox{\textwidth}{!}{% \begin{tabular}{l | c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c| c} \hline\hline \multicolumn{2}{c|}{} & \multicolumn{9}{c|}{STAR} & \multicolumn{9}{c|}{STAR\_WASP} & \multicolumn{9}{c}{WASP} \\ \hline \multicolumn{2}{c|}{} & \multicolumn{3}{c|}{RAM} & \multicolumn{3}{c|}{Mapping Speed} & \multicolumn{3}{c|}{Wall Clock} & \multicolumn{3}{c|}{RAM} & \multicolumn{3}{c|}{Mapping Speed} & \multicolumn{3}{c|}{Wall Clock} & \multicolumn{3}{c|}{RAM} & \multicolumn{3}{c|}{Mapping Speed} & \multicolumn{3}{c}{Wall Clock}\\ % & \multicolumn{2}{c|}{ccc} & \multicolumn{2}{c|}{ddd} & \multicolumn{2}{c}{eee} \\ \hline \textbf{Sample} & \textbf{Number of Input Reads} & \textbf{8} & \textbf{16}& \textbf{32} & \textbf{8} & \textbf{16}& \textbf{32} & \textbf{8} & \textbf{16}& \textbf{32} & \textbf{8} & \textbf{16} & \textbf{32} & \textbf{8} & \textbf{16} & \textbf{32} & \textbf{8} & \textbf{16} & \textbf{32} & \textbf{8} & \textbf{16} & \textbf{32} & \textbf{8} & \textbf{16} & \textbf{32} & \textbf{8} & \textbf{16} & \textbf{32} \\ [0.5ex] \hline HG00512 & 66055710 & 31040844 & 32991424 & 36641712 & 691.28 & 1225.78 & 1651.39 & 5:53.81 & 3:24.40 & 2:33.20 & 31431536 & 33735640 & 38095780 & 637.54 & 1106.05 & 1748.53 & 6:24.38 & 3:46.49 & 2:26.77 & 31075724 & 33026500 & 36677224 & 249.89 & 249.89 & 249.89 & 29:18.81 & 26:52.21 & 25:49.51\\ \hline HG00513 & 58601893 & 31041080 & 32991572 & 36550192 & 705.57 & 1191.90 & 1240.98 & 5:08.41 & 3:06.91 & 2:59.03 & 31431740 & 33738688 & 38006616 & 624.16 & 1076.36 & 1661.16 & 5:49.42 & 3:27.90 & 2:19.01 & 31076208 & 33026892 & 36586176 & 229.62 & 229.62 & 220.79 & 27:10.77 & 24:59.83 & 23:51.91\\ \hline HG00731 & 56254714 & 31041252 & 32991420 & 36524332 & 710.59 & 1065.88 & 1633.20 & 4:55.91 & 3:20.14 & 2:15.31 & 31435680 & 33740836 & 37982640 & 630.89 & 1106.65 & 1701.82 & 5:31.67 & 3:14.05 & 2:10.01 & 31080528 & 33031284 & 36564672 & 317.63 & 224.21 & 317.63 & 25:41.13 & 23:54.16 & 22:02.05\\ \hline HG00732 & 70029452 & 31041012 & 32991556 & 36608240 & 649.76 & 840.35 & 1537.23 & 6:37.05 & 5:10.74 & 2:54.18 & 31436484 & 33743100 & 38069420 & 601.69 & 1046.08 & 1669.58 & 7:10.51 & 4:12.84 & 2:42.47 & 31080808 & 33031720 & 36649204 & 300.34 & 357.55 & 357.55 & 31:57.48 & 29:12.33 & 27:36.95\\ \hline HG00733 & 92075712 & 31041244 & 32991324 & 36802844 & 651.22 & 1029.42 & 1104.91 & 8:40.32 & 5:33.08 & 5:10.62 & 31435356 & 33739904 & 38260964 & 631.38 & 1097.59 & 1763.15 & 8:57.67 & 5:13.85 & 3:20.69 & 31079840 & 33030544 & 36842856 & 373.15 & 373.15 & 373.15 & 41:29.21 & 37:52.95 & 36:38.73\\ \hline NA12878\_Nucleus\_nonPolyA & 110469791 & 30950208 & 32689648 & 36168820 & 487.37 & 831.99 & 967.62 & 13:48.85 & 8:10.55 & 7:04.52 & 31380140 & 33475928 & 37666488 & 417.74 & 732.40 & 1156.08 & 16:07.55 & 9:18.08 & 6:00.84 & 31024508 & 32764968 & 36245108 & 403.94 & 632.26 & 855.41 & 1:09:32 & 1:01:58 & 58:23.87\\ \hline NA12878\_Nucleus\_nonPolyA\_Rep & 106919251 & 30931532 & 32670792 & 36150148 & 411.67 & 766.75 & 1214.22 & 15:47.22 & 8:34.12 & 5:29.47 & 31361524 & 33457288 & 37648644 & 369.75 & 656.84 & 1063.29 & 17:36.26 & 10:01.67 & 6:17.01 & 31005828 & 32746132 & 36231672 & 349.51 & 533.15 & 806.57 & 1:14:13 & 1:05:32 & 1:02:06\\ \hline NA12878\_Nucleus\_PolyA & 128402941 & 31041084 & 32991356 & 36892020 & 421.38 & 715.56 & 828.41 & 18:31.06 & 10:59.84 & 9:31.94 & 31472104 & 33779992 & 38394900 & 368.03 & 654.75 & 1052.96 & 21:12.27 & 12:01.81 & 7:35.41 & 31116404 & 33069244 & 36972380 & 385.49 & 466.88 & 688.83 & 1:34:16 & 1:26:12 & 1:21:13\\ \hline NA12878\_Nucleus\_PolyA\_Rep & 116517502 & 31041204 & 32991604 & 36798048 & 458.93 & 822.48 & 1298.65 & 15:26.50 & 8:43.23 & 5:36.57 & 31472056 & 33779892 & 38298636 & 384.12 & 693.33 & 1115.59 & 18:28.35 & 10:21.09 & 6:31.81 & 31116584 & 33069052 & 36876084 & 406.27 & 473.12 & 526.43 & 1:26:22 & 1:17:05 & 1:13:10\\ \hline NA12878\_PolyA & 97548052 & 31041300 & 32991760 & 36892688 & 343.28 & 540.27 & 789.15 & 17:15.50 & 11:02.25 & 7:38.59 & 31473172 & 33781520 & 38398332 & 277.17 & 502.39 & 828.24 & 21:23.01 & 11:54.50 & 7:19.45 & 31117264 & 33070648 & 36977224 & 292.39 & 436.97 & 560.06 & 1:22:49 & 1:13:08 & 1:09:14\\ \hline NA12878\_PolyA\_Rep & 93555584 & 31041328 & 32991732 & 36892596 & 365.69 & 549.43 & 831.61 & 15:33.02 & 10:25.56 & 6:57.90 & 31472848 & 33781068 & 38397668 & 276.29 & 509.53 & 839.90 & 20:33.86 & 11:16.39 & 6:57.93 & 31117428 & 33070496 & 36976852 & 307.24 & 430.80 & 558.22 & 1:21:35 & 1:13:49 & 1:09:45\\ \hline NA12878\_Total & 105089150 & 31040952 & 32991496 & 36892524 & 423.18 & 588.37 & 1019.73 & 15:07.11 & 10:56.65 & 6:25.65 & 31472008 & 33780188 & 38396316 & 331.28 & 594.84 & 967.57 & 19:18.38 & 10:51.83 & 6:47.12 & 31116972 & 33069508 & 36974752 & 299.06 & 426.76 & 550.45 & 1:24:20 & 1:16:13 & 1:13:37\\ \hline NA12878\_Total\_Rep & 92494632 & 31041356 & 32991468 & 36892564 & 384.95 & 689.40 & 973.63 & 14:37.86 & 8:14.91 & 5:54.36 & 31472188 & 33779932 & 38396332 & 338.39 & 553.12 & 702.49 & 16:39.95 & 10:17.37 & 8:10.03 & 31116928 & 33069384 & 36975084 & 308.60 & 425.78 & 560.62 & 1:14:41 & 1:08:31 & 1:03:58\\ \hline NA19238 & 63949386 & 31041224 & 32991328 & 36585100 & 689.27 & 1218.08 & 1362.24 & 5:44.27 & 3:18.95 & 2:58.96 & 31446196 & 33751400 & 38054544 & 622.21 & 1080.83 & 1680.42 & 6:21.72 & 3:44.91 & 2:29.11 & 31090644 & 33041352 & 36636000 & 340.66 & 454.22 & 430.31 & 31:02.23 & 28:39.10 & 27:38.88\\ \hline NA19239 & 72457249 & 31041084 & 32991472 & 36663112 & 686.44 & 1095.99 & 1640.54 & 6:30.12 & 4:07.45 & 2:49.50 & 31446252 & 33753120 & 38133220 & 625.53 & 1039.23 & 1073.44 & 7:08.55 & 4:24.04 & 4:14.76 & 31090580 & 33041304 & 36713572 & 320.61 & 362.43 & 347.33 & 34:25.17 & 31:55.49 & 30:21.39\\ \hline NA19240 & 59219085 & 31040828 & 32991504 & 36544984 & 619.73 & 1127.98 & 1411.85 & 5:53.65 & 3:18.20 & 2:40.08 & 31446308 & 33752396 & 38015332 & 587.30 & 930.96 & 1191.00 & 6:14.20 & 4:01.22 & 3:10.27 & 31090620 & 33041216 & 36595724 & 336.99 & 336.99 & 321.67 & 28:35.10 & 26:22.10 & 24:48.94\\ \hline \end{tabular} } %\end{landscape} \end{document}