]> git.donarmstrong.com Git - diamond_presentation.git/blob - diamond_presentation_2015.Rnw
add start of presentation and figure makefile
[diamond_presentation.git] / diamond_presentation_2015.Rnw
1 \documentclass[ignorenonframetext]{beamer}
2 \usepackage{fontspec}
3 \setmainfont{FreeSerif}
4 \setsansfont{FreeSans}
5 \setmonofont{FreeMono}
6 \usepackage{url}
7 \usepackage{fancyhdr}
8 \usepackage{graphicx}
9 \usepackage[bf]{caption}
10 \usepackage{rotating}
11 \usepackage{wrapfig}
12 \usepackage{fancybox}
13 \usepackage{booktabs}
14 % \usepackage{multirow}
15 \usepackage{acronym}
16 \usepackage{qrcode}
17 \usepackage[backend=biber,natbib=true,hyperref=true,style=nature]{biblatex}
18 \addbibresource{references.bib}
19 % \usepackage[nomargin,inline,draft]{fixme}
20 % \newcommand{\DLA}[1]{\textcolor{red}{\fxnote{DLA: #1}}}
21 % \usepackage[hyperfigures,bookmarks,colorlinks,citecolor=black,filecolor=black,linkcolor=black,urlcolor=black]{hyperref}
22 \usepackage{texshade}
23 \usepackage{tikz}
24 \usepackage{nameref}
25 \usepackage{zref-xr,zref-user}
26 \renewcommand*{\bibfont}{\tiny}
27
28 % The textpos package is necessary to position textblocks at arbitary 
29 % places on the page.  Use showboxes option to show outlines of textboxes.
30 % \usepackage[absolute]{textpos}
31 \usepackage[absolute,showboxes]{textpos}
32
33 \usepackage{multirow}
34 \usepackage{array}
35
36 \mode<presentation>{ 
37   \usetheme{CambridgeUS}
38   % http://identitystandards.illinois.edu/graphicstandardsmanual/generalguidelines/colors.html
39   \definecolor{ilboldblue}{HTML}{002058}
40   \definecolor{ilboldorange}{HTML}{E87722}
41   \definecolor{ilblue}{HTML}{606EB2}
42   \definecolor{ilorange}{HTML}{D45D00}
43   \setbeamercolor{alerted text}{fg=ilboldorange}
44   \setbeamercolor*{palette primary}{fg=ilblue,bg=ilorange}
45   \setbeamercolor*{palette secondary}{fg=ilblue!20!white,bg=ilorange}
46   \setbeamercolor*{palette tertiary}{bg=ilblue,fg=ilorange}
47   \setbeamercolor*{palette quaternary}{fg=ilblue,bg=ilorange}
48   
49   \setbeamercolor*{sidebar}{fg=ilorange,bg=ilboldblue}
50   
51   \setbeamercolor*{palette sidebar primary}{fg=ilblue!10!white,bg=ilorange}
52   \setbeamercolor*{palette sidebar secondary}{fg=ilorange}
53   \setbeamercolor*{palette sidebar tertiary}{fg=ilblue}
54   \setbeamercolor*{palette sidebar quaternary}{fg=ilorange}
55   
56   % \setbeamercolor*{titlelike}{parent=palette primary}
57   \setbeamercolor{titlelike}{parent=palette primary,fg=ilboldblue,bg=ilorange}
58   \setbeamercolor{frametitle}{fg=ilboldorange,bg=ilblue!80!white}
59   \setbeamercolor{frametitle right}{fg=ilboldblue,bg=ilorange}
60   
61   \setbeamercolor*{separation line}{}
62   \setbeamercolor*{fine separation line}{}
63   \setbeamercovered{transparent}  
64   \logo{\begin{tikzpicture}% Pale figure
65       {\node[opacity=0.8]{\IfFileExists{figures/igb_wordmark.pdf}{\includegraphics[width=2cm,height=1cm,keepaspectratio]{figures/igb_wordmark}}{}%
66         };}%
67     \end{tikzpicture}}
68 }
69
70 \title[DIAMOND]{DIAMOND: Fast protein alignment}
71 \author[Don Armstrong]{Don L. Armstrong}
72 \institute[IGB]{Institute for Genomic Biology, Computing Genomes 
73   for Reproductive Health, University of Illinois, Urbana-Champaign}
74
75 \begin{document}
76
77 <<load.libraries,echo=FALSE,results="hide",warning=FALSE,message=FALSE,error=FALSE,cache=FALSE>>=
78 opts_chunk$set(dev="cairo_pdf",out.width="\\textwidth",out.height="0.8\\textheight",out.extra="keepaspectratio")
79 #opts_chunk$set(cache=TRUE, autodep=TRUE)
80 options(device = function(file, width = 8, height = 7, ...) {
81   cairo_pdf(tempfile(), width = width, height = height, ...)
82 })
83 options(digits=2)
84 library("data.table")
85 library("ggplot2")
86 library("reshape2")
87 library("grid")
88 library("xtable")
89
90
91
92 \IfFileExists{figures/relevant_xkcd.png}{\frame[plain]{\centering \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{figures/relevant_xkcd.png}
93
94     \url{https://xkcd.com/1513/}}}
95
96 \frame[plain]{\titlepage}
97
98
99
100 \section{The Problem}
101
102 \section{The Previous Contenders}
103
104 \section{Diamond Methodology}
105
106 \section{Comparison}
107
108 \subsection{Speed}
109
110 \subsection{Accuracy}
111
112
113 \section*{References}
114
115 \begin{frame}[plain]{References}
116   \begin{center}
117     \mbox{}\vspace{-\baselineskip}
118     \printbibliography[heading=none]
119   \end{center}
120 \end{frame}
121
122 \end{document}