forked from Bioconductor/BioC2016Introduction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BioconductorSlides.sty
39 lines (36 loc) · 1.25 KB
/
BioconductorSlides.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
\usepackage{Sweave}
\usepackage{color,graphics}
\usepackage{latexsym, amsmath, amssymb}
\hypersetup{colorlinks=TRUE, urlcolor=blue}
%% simple macros
\newcommand{\software}[1]{\textsl{#1}}
\newcommand\R{\textsl{R}}
\newcommand\Bioconductor{\textsl{Bioconductor}}
\newcommand\Rpackage[1]{{\textsl{#1}\index{#1 (package)}}}
\newcommand\Biocpkg[1]{%
{\href{http://bioconductor.org/packages/release/bioc/html/#1.html}%
{\textsl{#1}}}%
\index{#1 (package)}}
\newcommand\Rpkg[1]{%
{\href{http://cran.fhcrc.org/web/packages/#1/index.html}%
{\textsl{#1}}}%
\index{#1 (package)}}
\newcommand\Biocannopkg[1]{%
{\href{http://bioconductor.org/packages/release/data/annotation/html/#1.html}%
{\Rpackage{#1}}}}
\newcommand\Biocdatapkg[1]{%
{\href{http://bioconductor.org/packages/release/data/experiment/html/#1.html}%
{\textsl{#1}}}%
\index{#1 (package)}}
\newcommand\Robject[1]{{\small\texttt{#1}}}
\newcommand\Rclass[1]{{\textit{#1}\index{#1 (class)}}}
\newcommand\Rfunction[1]{{{\small\texttt{#1}}\index{#1 (function)}}}
\newcommand\Rmethod[1]{{\texttt{#1}}}
\newcommand\Rfunarg[1]{{\small\texttt{#1}}}
\newcommand\Rcode[1]{{\small\texttt{#1}}}
%% \AtBeginSection[]
%% {
%% \begin{frame}<beamer>{Outline}
%% \tableofcontents
%% \end{frame}
%% }