Transcription of Statistics Using R with Biological Examples
1 Statistics Using R. with Biological Examples Kim Seefeld, MS, *. Ernst Linder, University of New Hampshire, Durham, NH. Department of Mathematics & Statistics *Also affiliated with the Dept. of Nephrology and the Biostatistics Research Center, Tufts-NEMC, Boston,MA. Copyright May 2007, K Seefeld 1. Permission granted to reproduce for nonprofit, educational use. Preface This book is a manifestation of my desire to teach researchers in biology a bit more about Statistics than an ordinary introductory course covers and to introduce the utilization of R as a tool for analyzing their data.
2 My goal is to reach those with little or no training in higher level Statistics so that they can do more of their own data analysis, communicate more with statisticians, and appreciate the great potential Statistics has to offer as a tool to answer Biological questions. This is necessary in light of the increasing use of higher level Statistics in biomedical research. I hope it accomplishes this mission and encourage its free distribution and use as a course text or supplement. I thank all the teachers, professors, and research colleagues who guided my own learning especially those in the Statistics and Biological research departments at the University of Michigan, Michigan State University, Dartmouth Medical School, and the University of New Hampshire.
3 I thank the Churchill group at the Jackson labs to invite me to Bar Harbor while I was writing the original manuscript of this book. I especially thank Ernst Linder for reviewing and working with me on this manuscript, NHCTC for being a great place to teach, and my current colleagues at Tufts-NEMC. I dedicate this work to all my students past, present and future both those that I teach in the classroom and the ones I am teaching through my writings. I wish you success in your endeavors and encourage you never to quit your quest for answers to the research questions that interest you most.
4 K Seefeld, May 2007. Copyright May 2007, K Seefeld 2. Permission granted to reproduce for nonprofit, educational use. 1. Overview The coverage in this book is very different from a traditional introductory Statistics book or course (of which both authors have taught numerous times). The goal of this book is to serve as a primer to higher level Statistics for researchers in Biological fields. We chose topics to cover from current bioinformatics literature and from available syllabi from the small but growing number of courses titled something like Statistics for bioinformatics .
5 Many of the topics we have chosen (Markov Chains, multivariate analysis) are considered advanced level topics, typically taught only to graduate level students in Statistics . We felt the need to bring down the level that these topics are taught to accommodate interested people with non-statistical background. In doing so we, as much as possible, eliminated Using complicated equations and mathematical language. As a cautionary note, we are not hoping to replace a graduate level background in Statistics , but we do hope to convey a conceptual understanding and ability to perform some basic data analysis Using these concepts as well as better understand the vocabulary and concepts frequently appearing in bioinfomatic literature.
6 We anticipate that this will inspire further interest in statistical study as well as make the reader a more educated consumer of the bioinformatics literature, able to understand and analyze the statistical techniques being used. This should also help open communication lines between statisticians and researchers. We (the authors) are both teachers who believe in learning by doing and feel there would be little use in presenting statistical concepts without providing Examples Using these concepts. In order to present applied Examples , the complexity of data analysis needed for bioinformatics requires a sophisticated computer data analysis system.
7 It is not true, as often misperceived by researchers, that computer programming languages (such as Java or Perl) or office applications (such as spreadsheets or database applications) can replace a Copyright May 2007, K Seefeld 3. Permission granted to reproduce for nonprofit, educational use. statistical applications package. The majority of functionality needed to perform sophisticated data analysis is found only in specialized statistical software. We feel very fortunate to be able to obtain the software application R for use in this book.
8 R has been in active, progressive development by a team of top-notch statisticians for several years. It has matured into one of the best, if not the best, sophisticated data analysis programs available. What is most amazing about R is that it completely free, making it wonderfully accessible to students and researchers. The structure of the R software is a base program, providing basic program functionality, which can be added onto with smaller specialized program modules called packages. One of the biggest growth areas in contributed packages in recent years has come from bioinformatics researchers, who have contributed packages for QTL and microarray analysis, among other applications.
9 Another big advantage is that because R is so flexible and extensible, R can unify most (if not all) bioinformatics data analysis tasks in one program with add-on packages. Rather than learn multiple tools, students and researchers can use one consistent environment for many tasks. It is because of the price of R, extensibility, and the growing use of R in bioinformatics that R. was chosen as the software for this book. The disadvantage of R is that there is a learning curve required to master its use (however, this is the case with all statistical software).
10 R is primarily a command line environment and requires some minimal programming skills to use. In the beginning of the book we cover enough ground to get one up and running with We are assuming the primary interest of the reader is to be an applied user of this software and focus on introducing relevant packages and how to use the available existing functionality effectively. However, R is a fully extensible system and as an open source project, users are welcome to contribute code. In addition, R is designed to interface well with other technologies, including other programming languages and database systems.