\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 & 31041108 & 32991304 & 36642040 & 699.41 & 1219.49 & 1857.82 & 5:51.40 & 3:26.73 & 2:20.07 & 31481644 & 33788424 & 38147788 & 581.42 & 925.29 & 1321.11 & 7:02.17 & 4:30.63 & 3:13.98 & 31041072 & 32991336 & 36641516 & 266.55 & 266.55 & 266.55 & 27:51.13 & 26:01.35 & 25:04.88\\ \hline HG00513 & 58601893 & 31041020 & 32991260 & 36550392 & 693.97 & 1205.52 & 1834.49 & 5:14.70 & 3:05.82 & 2:05.66 & 31482368 & 33788756 & 38057560 & 562.58 & 830.58 & 1475.29 & 6:28.60 & 4:27.97 & 2:35.90 & 31041212 & 32991400 & 36549996 & 249.59 & 239.19 & 229.62 & 26:16.48 & 23:45.86 & 23:34.15\\ \hline HG00731 & 56254714 & 31041132 & 32991340 & 36523960 & 705.63 & 1205.46 & 1841.06 & 4:57.41 & 2:58.48 & 2:01.04 & 31481724 & 33787692 & 38034336 & 562.55 & 955.27 & 1522.68 & 6:13.08 & 3:44.52 & 2:26.06 & 31041124 & 32991400 & 36524052 & 346.51 & 317.63 & 346.51 & 24:38.45 & 22:36.81 & 21:39.74\\ \hline HG00732 & 70029452 & 31041176 & 32991524 & 36608456 & 679.53 & 1183.60 & 1826.86 & 6:22.65 & 3:43.33 & 2:27.86 & 31481944 & 33788600 & 38115732 & 534.12 & 821.19 & 1465.73 & 8:05.13 & 5:20.50 & 3:06.44 & 31041288 & 32991236 & 36608404 & 326.46 & 375.43 & 375.43 & 31:51.24 & 28:24.82 & 26:51.97\\ \hline HG00733 & 92075712 & 31041404 & 32991360 & 36802948 & 690.57 & 1205.35 & 1862.21 & 8:10.78 & 4:46.23 & 3:10.18 & 31482016 & 33788148 & 38309504 & 554.30 & 891.06 & 1320.61 & 10:12.19 & 6:27.11 & 4:26.54 & 31040932 & 32991632 & 36802864 & 395.10 & 395.10 & 395.10 & 40:42.08 & 36:40.13 & 34:34.77\\ \hline NA12878\_Nucleus\_nonPolyA & 110469791 & 30949976 & 32689696 & 36168440 & 483.81 & 842.57 & 1312.51 & 13:55.66 & 8:05.80 & 5:17.11 & 31426244 & 33522312 & 37713808 & 375.89 & 647.71 & 981.95 & 19:15.16 & 11:47.24 & 8:16.79 & 30949940 & 32689844 & 36168640 & 447.44 & 676.37 & 908.87 & 1:05:56 & 59:38.85 & 56:29.46\\ \hline NA12878\_Nucleus\_nonPolyA\_Rep & 106919251 & 30931296 & 32671048 & 36149420 & 430.55 & 765.23 & 1218.07 & 15:07.87 & 8:36.44 & 5:29.89 & 31407656 & 33503576 & 37695576 & 335.87 & 606.16 & 962.27 & 20:39.12 & 12:08.59 & 8:10.36 & 30944748 & 32671064 & 36149960 & 388.35 & 593.51 & 850.17 & 1:10:42 & 1:03:19 & 59:09.46\\ \hline NA12878\_Nucleus\_PolyA & 128402941 & 31041356 & 32991732 & 36892088 & 441.50 & 783.48 & 1242.61 & 17:42.22 & 10:05.12 & 6:26.71 & 31518064 & 33826336 & 38441664 & 329.47 & 592.63 & 865.64 & 24:57.38 & 14:35.13 & 10:26.66 & 31041132 & 32991620 & 36891968 & 416.03 & 600.27 & 737.17 & 1:29:20 & 1:21:37 & 1:17:07\\ \hline NA12878\_Nucleus\_PolyA\_Rep & 116517502 & 31041032 & 32991688 & 36798320 & 460.95 & 817.67 & 1306.74 & 15:24.66 & 8:46.65 & 5:34.50 & 31518480 & 33826308 & 38346072 & 361.29 & 642.36 & 1053.93 & 20:54.99 & 12:26.24 & 8:10.82 & 31040972 & 32991444 & 36797752 & 434.61 & 622.94 & 747.53 & 1:21:27 & 1:14:06 & 1:10:48\\ \hline NA12878\_PolyA & 97548052 & 31041348 & 32991768 & 36892708 & 357.25 & 644.35 & 1045.16 & 16:36.03 & 9:18.05 & 5:49.25 & 31519628 & 33828116 & 38445368 & 258.22 & 453.13 & 642.00 & 24:12.22 & 14:28.42 & 10:40.13 & 31041208 & 32991584 & 36892620 & 323.29 & 473.39 & 611.76 & 1:18:38 & 1:11:33 & 1:07:44\\ \hline NA12878\_PolyA\_Rep & 93555584 & 31041464 & 32991776 & 36892600 & 365.69 & 653.98 & 1062.46 & 15:34.15 & 8:48.55 & 5:30.96 & 31519304 & 33827660 & 38444868 & 259.88 & 478.41 & 688.75 & 23:09.61 & 13:12.84 & 9:40.65 & 31041056 & 32991976 & 36892460 & 335.88 & 471.83 & 609.75 & 1:18:07 & 1:11:21 & 1:07:21\\ \hline %NA12878\_RAMPAGE & 32796876 & 30988208 & 32728120 & 36206712 & 197.77 & 331.65 & 494.01 & 10:07.84 & 6:05.75 & 4:08.65 & 31464796 & 33561084 & 37753060 & 157.85 & 254.46 & 423.19 & 13:57.92 & 9:11.76 & 6:05.65 & 30988388 & 32727796 & 36207196 & 163.80 & 163.80 & 153.56 & 15:43.61 & 11:46.15 & 9:48.08\\ %\hline %NA12878\_RAMPAGE\_Rep & 36145096 & 30997884 & 32737552 & 36217040 & 189.96 & 318.93 & 487.35 & 11:34.94 & 6:57.47 & 4:37.41 & 31474640 & 33570520 & 37762144 & 147.03 & 240.52 & 388.42 & 16:15.98 & 10:30.83 & 7:02.67 & 30998156 & 32737652 & 36216780 & 131.37 & 131.37 & 124.46 & 17:16.83 & 12:49.92 & 10:31.26\\ %\hline %NA12878\_Small & 221362695 & 30649908 & 32207808 & 35243604 & 337.39 & 586.39 & 902.50 & 39:35.14 & 22:52.70 & 14:56.81 & 31130844 & 33015388 & 36750560 & 280.80 & 497.13 & 773.69 & 48:57.91 & 28:15.73 & 18:40.40 & 30706184 & 32206944 & 35201884 & 330.26 & 584.67 & 877.65 & 47:53.41 & 30:23.27 & 22:51.81\\ %\hline NA12878\_Total & 105089150 & 31041460 & 32991520 & 36892644 & 421.76 & 727.54 & 865.72 & 15:11.24 & 8:54.24 & 7:30.87 & 31518604 & 33826468 & 38442652 & 289.68 & 465.34 & 700.59 & 23:18.29 & 15:06.44 & 10:34.35 & 31041188 & 32991488 & 36892248 & 324.63 & 457.60 & 584.33 & 1:20:38 & 1:15:16 & 1:10:19\\ \hline NA12878\_Total\_Rep & 92494632 & 31041416 & 32991668 & 36892568 & 424.72 & 760.23 & 1206.45 & 13:17.76 & 7:31.78 & 4:50.18 & 31518208 & 33826552 & 38442840 & 313.84 & 557.76 & 816.13 & 19:13.72 & 11:29.99 & 8:19.25 & 31041248 & 32991472 & 36892588 & 336.37 & 460.78 & 590.12 & 1:12:15 & 1:06:31 & 1:03:30\\ \hline NA19238 & 63949386 & 31041268 & 32991520 & 36585368 & 708.36 & 1224.56 & 1856.60 & 5:35.07 & 3:18.66 & 2:14.95 & 31494336 & 33800168 & 38103008 & 558.78 & 834.12 & 1457.07 & 7:07.33 & 4:50.95 & 2:51.48 & 31041088 & 32991312 & 36585352 & 355.47 & 480.94 & 480.94 & 29:44.22 & 28:06.39 & 26:48.32\\ \hline NA19239 & 72457249 & 31041036 & 32991404 & 36663248 & 712.69 & 951.99 & 1590.52 & 6:16.48 & 4:44.14 & 2:54.32 & 31494612 & 33801160 & 38181860 & 542.30 & 908.87 & 1202.06 & 8:15.29 & 5:00.97 & 3:51.38 & 31040980 & 32991468 & 36662948 & 347.33 & 378.90 & 362.43 & 34:13.67 & 30:43.29 & 30:19.52\\ \hline NA19240 & 59219085 & 31040944 & 32991524 & 36545216 & 625.19 & 935.04 & 1315.98 & 5:51.88 & 3:57.98 & 2:51.83 & 31494848 & 33801268 & 38064268 & 548.04 & 859.63 & 1384.34 & 6:43.60 & 4:22.17 & 2:48.07 & 31040968 & 32991312 & 36544696 & 372.46 & 353.84 & 353.84 & 26:50.63 & 25:04.44 & 24:43.89\\ \hline \end{tabular} } \end{landscape} \end{document}