Alejandro Buren & Paul Regular Introduction to BIOL 7220 September 2012.

Slides:



Advertisements
Similar presentations
A gentle introduction to R – how to load in data and produce summary statistics BRC MH Bioinformatics group.
Advertisements

A Model for Infusing Engineering and Programming Concepts in Introduction to Computer Courses at Community Colleges. Intro to Robotics and Programming.
Microsoft® Small Basic Graduating to the Microsoft Visual Basic® development environment Estimated time to complete this lesson: 1 hour.
CE 311 K Introduction to Computer Methods VB Controls and Events Daene C. McKinney.
Data Mining with R/ORE Minming Duan. 2 iTech Solution Profile Agenda R/ORE Overview 1 XML output generation using SQL 4 Integration with IBP and BIEE.
2014 Redrock Software Conference Up and Running in 1 hour Pre-Conference Session 2 2:10-3:10.
Power Point 2007 Embedding Videos. How to embed a video that is hosted online.
To err is human – to R is divine R from step 1 for the experimental biologist with an eye on the tomoRRow! Schraga Schwartz, Bioinformatic Workshop, June.
1. Basics of R 2. Basic probability with R
 Statistics package  Graphics package  Programming language  Can be used to share/reproduce analyses  Many new packages being created - can be downloaded.
R Mohammed Wahaj. What is R R is a programming language which is geared towards using a statistical approach and graphics Statisticians and data miners.
SASSi Carl Morgan (Group Leader) Paul Salama Xiaotang Zhang.
R Introduction to Statistical Analysis Using R Nick, Caroline, Tanya.
The “R” Statistical Package Naomi Altman Dept. of Statistics PSU.
What is R By: Wase Siddiqui. Introduction R is a programming language which is used for statistical computing and graphics. “R is a language and environment.
Basic R Programming for Life Science Undergraduate Students Introductory Workshop (Session 1) 1.
1 An Introduction – UCF, Methods in Ecology, Fall 2008 An Introduction By Danny K. Hunt & Eric D. Stolen Getting Started with R (with speaker notes)
Introduction to R By Robert Biddle. About Me Data Professional with over 10 years experience. Hilton Grand Vacations, Orlando Data Architect MCITP Database.
ALEXANDER C. LOPILATO R: Because the names of other stat programs don’t make sense so why should this one?
An introduction to R: get familiar with R Guangxu Liu Bio7932.
A B C Q R S! Coilín Minto Department of Biology, Dalhousie University.
Introduction to R Clay Ford, StatLab September 11/12, 2013.
Midterm Review WEB DESIGN. FLASH What is Flash? –Flash is a multimedia graphics program specifically for use on the web –Flash enables you to create interactive.
Introduction to R Lecture 1: Getting Started Andrew Jaffe 8/30/10.
Actuarial Modeling in R CAS Spring Meeting June, 2007 Glenn Meyers, FCAS, MAAA Jim Guszcza, FCAS, MAAA.
Sustainability: Web Site Statistics Marieke Napier UKOLN University of Bath Bath, BA2 7AY UKOLN is supported by: URL
Using Software in Teaching Statistics Damon Berridge, Centre for Applied Statistics, Dept of Mathematics & Statistics ESRC NCRM.
INTRODUCTION UTUBUNTU Why use Ubuntu for desktops? Ubuntu is a Fast, Secure and Easy-to-use operating system used by millions of people around.
R Brown-Bag Seminar 2: Hands-on Antony Karanja Ndungu Research Methods Group-ICRAF.
Comparing Open Source CMSs: Joomla, Drupal, and Plone Nonprofit Technology Conference April 2007.
What’s the Big Deal About R? Tom Tiedeman, OCIO July 21, 2015.
1 Excel for statistics Module 1, Session 4. 2 Learning Objectives participants should be able to: Explain how an Excel add-in can provide the equivalent.
Macro Recording. Macros Image-pro Plus has an internal programming language called Auto-Pro. We can use Auto-pro to create: Executable Routines Executable.
BTEC DESIGN KEY STAGE 4. THE COURSE Award1 GCSE Certificate2 GCSEs.
An Introduction to R Statistical Computing AMS 597 Stony Brook University Spring 2009 By Tianyi Zhang.
Analyzing Data in MWADC. Outline What is Ravian and what is the Analyst application? Accessing the Analyst application What you can do with the Analyst.
Introduction to R October 10, 2008 Please go to: Find the workshop materials for this course Download them.
Introduction to R Introductions What is R? RStudio Layout Summary Statistics Your First R Graph 17 September 2014 Sherubtse Training.
Post Processing Tools Sylvia Murphy National Center for Atmospheric Research.
PROGRAMMING IN R Introduction to R. In this session I will: Introduce you to the R program and windows Show how to install R Write basic programs in R.
2016/2/9System Arch (Fire Tom Wada)1 SCILAB Glance and demonstration By: Pham Thi Thu Phuong.
V. Rouillard  Introduction to measurement and statistical analysis CURVE FITTING In graphical form, drawing a line (curve) of best fit through.
Introduction to CADStat. CADStat and R R is a powerful and free statistical package [
Pinellas County Schools
Introduction to Data Manipulation, Analysis, and Visualization with R Patrick Grof-Tisza.
R Brown-Bag Seminar 2.1 Topic: Introduction to R Presenter: Faith Musili ICRAF-Geoscience Lab.
Introduction to R Carolina Salge March 29, 2017.
DATA MINING Python.
Website Design.
Introduction to R Commander
{ Fix Installation Problem of HP Touchpoint Manager Technology.
f
Introduction to R.
Introduction to R By Robert Biddle.
Using Excel for Quantitative Skill Development
Comparing Open Source CMSs: Joomla, Drupal, and Plone
Siva R Venna (sxv6878) Satya Katragadda (sxk6389)
Code is on the Website Outline Comparison of Excel and R
CSCI N207 Data Analysis Using Spreadsheet
Installing Packages Introduction to R, Part II
Glance and demonstration
May 31-June 2, 2016, Missouri Botanical Garden
This is where R scripts will load
R Statistical Language
Using R for Data Analysis and Data Visualization
Statistical Process Control
A brief introduction to the nutrient tool-kit, getting R Studio to work and checking the data Martyn Kelly
Statistical Process Control
Presentation transcript:

Alejandro Buren & Paul Regular Introduction to BIOL 7220 September 2012

What to expect from this workshop Intro to R Data summaries Create plots Run General linear models Easily extensible to glm, gam, glmm, gamm – BUT you have to know what you’re doing

What NOT to expect from this workshop A course in statistics A showcase of R’s capabilities

What is R? Environment and language for – Statistics – Graphics – Etc. Open source

Why use R? It’s FREE! Flexible One stop shop Large up-front cost, but BIG payoff Growing number of users Expansive!

Download & Install Program – R & Tinn-R installed? Packages – Required to use statistical and graphical packages not included in the base package – Install once – Load each new session

Vectors R has symbolic vectors which can be assigned values The traditional way to do this in R is the ’<-’ operator Possible vector names flexible – Vector names cannot start with a digit – Names are case-sensitive – Some common names are already used by R c, q, t, C, D, F, I, T,

Functions MANY built in functions – log() – exp() – sin() – sqrt() – mean() – max() – Etc.

Data Types Vectors (Numeric, Character, Logical) Matrix – All columns in a matrix must have same mode Array – N-dimensional matrix Dataframe – Columns in a data frame can have different modes. Similar to SAS and SPSS datasets Lists – Collection of objects, can be different modes and dimensions Factor

Data Management Import & Export Useful functions – subset – na.omit – cbind, rbind – sort – summaryBy – Operate over dataframe – Random numbers

Good Practice Set up a working directory Comment on each line of code Avoid attach function Define parameters in first lines of code Use standard format use.dots, OrCapitals, avoid spaces anywhere Clean up

Statistics & Graphics Working example – Look at data – Graph data – Run one regression and one ANOVA

HELP! Useful websites – Official site ( Manuals found on this site ( – R search site ( – Quick-R ( – R graphics gallery ( Books – The R Book – Etc. List serve ?function

Useful Packages...for us Statistical – VEGAN – lme4 – gam – nnet – Rcmdr Graphical – lattice – Rcmdr – gplots Data management – RODBC – doBy – reshape

Possibilities... Customized graphics... Complex statistics...

t-test ANOVA Simple Linear Regression Multiple Linear Regression ANCOVA GENERAL LINEAR MODELS ε ~ Normal R: lm()

t-test ANOVA Simple Linear Regression Multiple Linear Regression ANCOVA Poisson Binomial Negative Binomial Gamma Multinomial GENERALIZED LINEAR MODELS Inverse Gaussian Exponential GENERAL LINEAR MODELS ε ~ Normal Linear combination of parameters R: lm() R: glm()

t-test ANOVA Simple Linear Regression Multiple Linear Regression ANCOVA Poisson Binomial Negative Binomial Gamma Multinomial GENERALIZED LINEAR MODELS Inverse Gaussian Exponential Non-linear effect of covariates GENERALIZED ADDITIVE MODELS GENERAL LINEAR MODELS ε ~ Normal Linear combination of parameters R: lm() R: glm() R: gam()

Fixed effects modelRandom effects model