%\VignetteIndexEntry{Interface to MAPPER TFBS database} %\VignetteDepends{RMAPPER} %\VignetteKeywords{Annotation, Genetics} %\VignettePackage{RMAPPER} \documentclass[12pt]{article} \usepackage{Sweave} \usepackage{fullpage} \usepackage{hyperref} \newcommand{\R}{\textsf{R}} \newcommand{\Rcmd}[1]{\texttt{#1}} \newcommand{\pkg}[1]{\texttt{#1}} \textwidth=6.2in \bibliographystyle{plainnat} \begin{document} %\setkeys{Gin}{width=0.55\textwidth} \title{readMAPPER: Interface to MAPPER TFBS database} \author{Alberto Riva and Heike Sichtig (U. of Florida) } \maketitle % for cutting and pasting use continue ="" % change margins on every chunk <>= library(RMAPPER) options(warn=-1, width=75, digits=2, scipen=3, "prompt" = "R> ", "continue" = " ") @ \section{Introduction} The \pkg{RMAPPER} package provides an interface to the MAPPER database of predicted Transcription Factor Binding Sites (TFBS). The MAPPER database (\url{http://genome.ufl.edu/mapper/}) contains predicted binding sites for over 800 Transcription Factors in the promoter regions of all human, mouse and Drosophila genes. This package allows you to query the database according to the desired parameters and to download the resulting set of TFBS into an R object. \section{readMAPPER demonstration} First, the user should load the RMAPPER library. <>= library(RMAPPER) @ Then, examples can be run using the example function or directly using \emph{readMAPPER}. The functions \Rcmd{query} and\Rcmd{hits} are available to display the exact query and details of hits respectively. Note that the value for the "models" parameter should be a comma-separated list of model accession numbers. A table listing all transcription factors known to MAPPER with the corresponding model accession numbers is available at: \url{http://genome.ufl.edu/mapper/factors-table}. It can also be retrieved in R by evaluating: <>= rmapperFactorTable("*") @ Use the following R command to get the model accession numbers known to MAPPER for a specific transcription factor, i.e. "AbaA". <>= rmapperFactorTable("AbaA") @ Use the following R command to get the model accession numbers known to MAPPER for all transcription factors starting with "Ab...". <>= rmapperFactorTable("Ab") @ \subsection{Example 1} Retrieve predicted hits for model "MOOO27" (abaA) in the promoter of transcript NM\_009696 (mouse Apoe). Only hits with a score above the 95th percentile will be returned. <>= mh = readMAPPER(gene="NM_009696", perc="95", models="M00027") mh query(mh) hits(mh) @ \subsection{Example 2} Retrieve predicted hits for models "MOOO27" (abaA) and "M00442" (ABF) in the promoter of transcript NM\_009696 (mouse Apoe). Only hits with a score greater than 3 will be returned. <>= mh = readMAPPER(gene="NM_009696", score="3", models="M00027,M00442") mh query(mh) hits(mh) @ \section{Help} You can issue the following R command for help. <>= rmapperHelp() @ \end{document}