Bioinformatics Workshop - NM-AIST
|
|
- Wendy Robbins
- 5 years ago
- Views:
Transcription
1 Bioinformatics Workshop - NM-AIST Day 2 Introduction to R Thomas Girke July 24, 212 Bioinformatics Workshop - NM-AIST Slide 1/21
2 Introduction Look and Feel of the R Environment R Library Depositories Installation Getting Around Basic Syntax Data Types and Subsetting Basic Calculations Reading and Writing External Data Some Great R Functions Graphics Utilities Online Tutorial Bioinformatics Workshop - NM-AIST Slide 2/21
3 Outline Introduction Look and Feel of the R Environment R Library Depositories Installation Getting Around Basic Syntax Data Types and Subsetting Basic Calculations Reading and Writing External Data Some Great R Functions Graphics Utilities Online Tutorial Bioinformatics Workshop - NM-AIST Introduction Slide 3/21
4 What You ll Get? R Gui: OS X Command-line R: Linux/OS X R Gui: Windows Bioinformatics Workshop - NM-AIST Introduction Look and Feel of the R Environment Slide 4/21
5 RStudio: Alternative Working Environment for R New integrated development environment (IDE) for R that works well for beginners and developers. Bioinformatics Workshop - NM-AIST Introduction Look and Feel of the R Environment Slide 5/21
6 Why Using R Complete statistical package and programming language Efficient functions and data structures for data analysis Powerful graphics Access to fast growing number of analysis packages Most widely used language in bioinformatics Is standard for data mining and biostatistical analysis Technical advantages: free, open-source, available for all OSs Books & Documentation simpler - Using R for Introductory Statistics (Gentleman et al., 25) Bioinformatics and Computational Biology Solutions Using R and Bioconductor (John Verzani, 24) UCR Manual (Thomas Girke) Bioinformatics Workshop - NM-AIST Introduction Look and Feel of the R Environment Slide 6/21
7 Package Depositories CRAN (>3 packages) general data analysis BioConductor (>5 packages) bioscience data analysis Omegahat (>3 packages) programming interfaces Bioinformatics Workshop - NM-AIST Introduction R Library Depositories Slide 7/21
8 Installation Install R binary for your operating system from: Installation of CRAN Packages > install.packages(c("pkg1", "pkg2")) > install.packages("pkg.zip", repos=null) Installation of BioConductor Packages > source(" > bioclite() > bioclite(c("pkg1", "pkg2")) Bioinformatics Workshop - NM-AIST Introduction Installation Slide 8/21
9 Startup/Closing Behavior Starting R The R GUI versions under Windows and Mac OS X can be opened by double-clicking their icons. Alternatively, one can start it by typing R in a terminal (default under Linux). Startup/Closing Behavior The R environment is controlled by hidden files in the startup directory:.rdata,.rhistory and.rprofile (optional). ## Closing R > q() Save workspace image? [y/n/c]: Note When responding with y, then the entire R workspace will be written to the.rdata file which can become very large. Often it is sufficient to just save an analysis protocol in an R source file. This way one can quickly regenerate all data sets and objects. Bioinformatics Workshop - NM-AIST Introduction Getting Around Slide 9/21
10 Getting Around ## Create an object with the assignment operator <- (or = ) > object <-... ## List objects in current R session > ls() ## Return content of current working directory > dir() ## Return path of current working directory > getwd() ## Change current working directory > setwd("/home/user") Bioinformatics Workshop - NM-AIST Introduction Getting Around Slide 1/21
11 Basic R Syntax ## General R command syntax > object <- function(arguments) > object <- object[arguments] ## Execute an R script > source("my script.r") ## Execute an R script from command-line $ R CMD BATCH my script.r $ R --slave < my script.r ## Finding help >?function ## Load a library > library("my library") ## Summary of all functions within a library > library(help="my library") ## Load library manual (PDF file) > vignette() Bioinformatics Workshop - NM-AIST Introduction Basic Syntax Slide 11/21
12 Data Types ## Numeric data: 1, 2, 3 > x <- c(1, 2, 3); x; is.numeric(x); as.character(x) ## Character data: "a", "b", "c" > x <- c("1", "2", "3"); x; is.character(x); as.numeric(x) ## Complex data: 1, b, 3 > c(1, "b", 3) ## Logical data: TRUE, FALSE, TRUE > x <- 1:1 < 5; x >!x ## Return indices for the TRUEs in logical vector > which(x) Bioinformatics Workshop - NM-AIST Introduction Data Types and Subsetting Slide 12/21
13 Data Objects ## Vectors (1D) > myvec <- 1:1; names(myvec) <- letters[1:1] > myvec[1:5]; myvec[c(2,4,6,8)]; myvec[c("b", "d", "f")] ## Factors (1D): vectors with grouping information > factor(c("dog", "cat", "mouse", "dog", "dog", "cat")) ## Matrices (2D), Data Frames (2D) and Arrays ( 2D) > myma <- matrix(1:3, 3, 1, byrow = T) > mydf <- data.frame(col1=1:1, Col2=1:1) > mydf[1:4, ]; mydf[,c("col2", "Col1", "Col1")] ## Lists: containers for any object type > myl <- list(name="fred", wife="mary", no.children=3, child.ages=c(4,7,9)) > myl[[4]][1:2] ## Functions: piece of code > myfct <- function(arg1, arg2,...) { function body } Bioinformatics Workshop - NM-AIST Introduction Data Types and Subsetting Slide 13/21
14 General Subsetting Rules ## Subsetting by indices > myvec <- 1:26; names(myvec) <- LETTERS > myvec[1:4] ## Subsetting by same length logical vectors > mylog <- myvec > 1 > myvec[mylog] ## Subsetting by field names > myvec[c("b", "K", "M")] ## Special case > iris$species Bioinformatics Workshop - NM-AIST Introduction Data Types and Subsetting Slide 14/21
15 Basic Operators and Calculations Comparison operators: ==,! =, <, >, <=, >= ## Example: > 1==1 Logical operators: AND: &, OR:, NOT:! ## Example: > x <- 1:1; y <- 1:1 > x > y & x > 5 Calculations: ## Example: > x + y; sum(x); mean(x), sd(x); sqrt(x) > apply(iris[,1:3], 1, mean) Bioinformatics Workshop - NM-AIST Introduction Basic Calculations Slide 15/21
16 Reading and Writing External Data ## Import Data into R > read.delim("mydata.xls", sep="\t") ## Export Data from R to File > write.table(myframe, file="myfile.xls", sep="\t", quote=f) Bioinformatics Workshop - NM-AIST Introduction Reading and Writing External Data Slide 16/21
17 Some Great R Functions ## The unique() function to make vector entries unique > unique(iris$sepal.length); length(unique(iris$sepal.length)) ## The table() function counts the occurrences of entries > table(iris$species) ## The aggregate() function computes statistics of data aggregates > aggregate(iris[,1:4], by=list(iris$species), FUN=mean, na.rm=t) ## The %in% function returns the intersect between two vectors > month.name[month.name %in% c("may", "July")] ## The merge() function joins data frames based on a common key column > merge(frame1, frame2, by.x=1, by.y=1, all = TRUE) Bioinformatics Workshop - NM-AIST Introduction Some Great R Functions Slide 17/21
18 Graphics Utilities Color Key Venn Diagram A -1 1 Row Z-Score g99 g96 g72 g42 g43 g94 g51 g93 g34 g64 g27 g52 g16 g31 g35 g17 g39 g2 g47 g45 g41 g57 g48 g68 g84 g1 g2 g9 g36 g6 g63 g18 g9 g24 g33 g65 g53 g7 g32 g61 g4 g76 g49 g73 g28 g97 g98 g29 g83 g78 g92 g74 g26 g14 g55 g37 g1 g8 g8 g66 g67 g21 g82 g71 g11 g6 g56 g44 g7 g58 g3 g75 g15 g91 g23 g81 g38 g87 g85 g3 g95 g79 g54 g13 g89 g4 g25 g88 g22 g46 g5 g62 g19 g77 g12 g86 g5 g59 g69 g1 E D B C t4 t5 t3 t1 t2 Unique objects: All = 25; S1 = 18; S2 = 16; S3 = 2; S4 = 22; S5 = 18 Bioinformatics Workshop - NM-AIST Introduction Graphics Utilities Slide 18/21
19 Some Graphics Commands ## Dot plots > plot(1:1) > plot(iris[,1:4]) ## Barplot > barplot(1:1) ## Help with plots >?plot;?par Demo Graphics Utilities Bioinformatics Workshop - NM-AIST Introduction Graphics Utilities Slide 19/21
20 Outline Introduction Look and Feel of the R Environment R Library Depositories Installation Getting Around Basic Syntax Data Types and Subsetting Basic Calculations Reading and Writing External Data Some Great R Functions Graphics Utilities Online Tutorial Bioinformatics Workshop - NM-AIST Online Tutorial Slide 2/21
21 More Details and Exercises Continue in R Manual Bioinformatics Workshop - NM-AIST Online Tutorial Slide 21/21
Introduction into R. A Short Overview. Thomas Girke. December 8, Introduction into R Slide 1/21
Introduction into R A Short Overview Thomas Girke December 8, 212 Introduction into R Slide 1/21 Introduction Look and Feel of the R Environment R Library Depositories Installation Getting Around Basic
More informationBasic R programming. Ana Teresa Maia DCBM / CBME
Basic R programming Ana Teresa Maia DCBM / CBME Today Sources! Introduction Documentation and help Packages R Studio Basics and Syntax Data Types vectors; lists; data.frames; matrices R Programming Basic
More informationIntroduction to R/Bioconductor
Introduction to R/Bioconductor MCBIOS-2015 Workshop Thomas Girke March 12, 2015 Introduction to R/Bioconductor Slide 1/62 Introduction Look and Feel of the R Environment R Library Depositories Installation
More informationIntroduction to R. A Short Overview. Thomas Girke. December 12, Introduction to R Slide 1/70
Introduction to R A Short Overview Thomas Girke December 12, 2013 Introduction to R Slide 1/70 Introduction Look and Feel of the R Environment R Library Depositories Installation Getting Around Basic Syntax
More informationIntroduction to R statistical environment
Introduction to R statistical environment R Nano Course Series Aishwarya Gogate Computational Biologist I Green Center for Reproductive Biology Sciences History of R R is a free software environment for
More informationInstruction: Download and Install R and RStudio
1 Instruction: Download and Install R and RStudio We will use a free statistical package R, and a free version of RStudio. Please refer to the following two steps to download both R and RStudio on your
More informationBjørn Helge Mevik Research Computing Services, USIT, UiO
23.11.2011 1 Introduction to R and Bioconductor: Computer Lab Bjørn Helge Mevik (b.h.mevik@usit.uio.no), Research Computing Services, USIT, UiO (based on original by Antonio Mora, biotek) Exercise 1. Fundamentals
More informationWhy use R? Getting started. Why not use R? Introduction to R: It s hard to use at first. To perform inferential statistics (e.g., use a statistical
Why use R? Introduction to R: Using R for statistics ti ti and data analysis BaRC Hot Topics November 2013 George W. Bell, Ph.D. http://jura.wi.mit.edu/bio/education/hot_topics/ To perform inferential
More informationBGGN 213 Working with R packages Barry Grant
BGGN 213 Working with R packages Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Why it is important to visualize data during exploratory data analysis. Discussed data visualization best
More informationIntroduction to R: Using R for statistics and data analysis
Why use R? Introduction to R: Using R for statistics and data analysis George W Bell, Ph.D. BaRC Hot Topics November 2014 Bioinformatics and Research Computing Whitehead Institute http://barc.wi.mit.edu/hot_topics/
More informationIntroduction to R: Using R for statistics and data analysis
Why use R? Introduction to R: Using R for statistics and data analysis George W Bell, Ph.D. BaRC Hot Topics November 2015 Bioinformatics and Research Computing Whitehead Institute http://barc.wi.mit.edu/hot_topics/
More informationR version has been released on (Linux source code versions)
Installation of R and Bioconductor R is a free software environment for statistical computing and graphics. It is based on the statistical computer language S. It is famous for its wide set of statistical
More informationIntroduction to R: Using R for Statistics and Data Analysis. BaRC Hot Topics
Introduction to R: Using R for Statistics and Data Analysis BaRC Hot Topics http://barc.wi.mit.edu/hot_topics/ Why use R? Perform inferential statistics (e.g., use a statistical test to calculate a p-value)
More informationAn Introduction to R- Programming
An Introduction to R- Programming Hadeel Alkofide, Msc, PhD NOT a biostatistician or R expert just simply an R user Some slides were adapted from lectures by Angie Mae Rodday MSc, PhD at Tufts University
More informationWhy use R? Getting started. Why not use R? Introduction to R: Log into tak. Start R R or. It s hard to use at first
Why use R? Introduction to R: Using R for statistics ti ti and data analysis BaRC Hot Topics October 2011 George Bell, Ph.D. http://iona.wi.mit.edu/bio/education/r2011/ To perform inferential statistics
More informationUsing R for statistics and data analysis
Introduction ti to R: Using R for statistics and data analysis BaRC Hot Topics October 2011 George Bell, Ph.D. http://iona.wi.mit.edu/bio/education/r2011/ Why use R? To perform inferential statistics (e.g.,
More informationIntroduction to R Programming
Course Overview Over the past few years, R has been steadily gaining popularity with business analysts, statisticians and data scientists as a tool of choice for conducting statistical analysis of data
More informationIntroduction to R: Using R for Statistics and Data Analysis. BaRC Hot Topics
Introduction to R: Using R for Statistics and Data Analysis BaRC Hot Topics http://barc.wi.mit.edu/hot_topics/ Why use R? Perform inferential statistics (e.g., use a statistical test to calculate a p-value)
More informationIntroduction to RStudio
Introduction to RStudio Ulrich Halekoh Epidemiology and Biostatistics, SDU May 4, 2018 R R is a language that started by Ross Ihaka and Robert Gentleman in 1991 as an open source alternative to S emphasizes
More informationIntroduction to Statistics using R/Rstudio
Introduction to Statistics using R/Rstudio R and Rstudio Getting Started Assume that R for Windows and Macs already installed on your laptop. (Instructions for installations sent) R on Windows R on MACs
More informationLab 1: Getting started with R and RStudio Questions? or
Lab 1: Getting started with R and RStudio Questions? david.montwe@ualberta.ca or isaacren@ualberta.ca 1. Installing R and RStudio To install R, go to https://cran.r-project.org/ and click on the Download
More informationIntroducing Oracle R Enterprise 1.4 -
Hello, and welcome to this online, self-paced lesson entitled Introducing Oracle R Enterprise. This session is part of an eight-lesson tutorial series on Oracle R Enterprise. My name is Brian Pottle. I
More informationR: BASICS. Andrea Passarella. (plus some additions by Salvatore Ruggieri)
R: BASICS Andrea Passarella (plus some additions by Salvatore Ruggieri) BASIC CONCEPTS R is an interpreted scripting language Types of interactions Console based Input commands into the console Examine
More informationMBV4410/9410 Fall Bioinformatics for Molecular Biology. Introduction to R
MBV4410/9410 Fall 2018 Bioinformatics for Molecular Biology Introduction to R Outline Introduce R Basic operations RStudio Bioconductor? Goal of the lecture Introduce you to R Show how to run R, basic
More informationBioconductor tutorial
Bioconductor tutorial Adapted by Alex Sanchez from tutorials by (1) Steffen Durinck, Robert Gentleman and Sandrine Dudoit (2) Laurent Gautier (3) Matt Ritchie (4) Jean Yang Outline The Bioconductor Project
More informationShort Introduction to R
Short Introduction to R Paulino Pérez 1 José Crossa 2 1 ColPos-México 2 CIMMyT-México June, 2015. CIMMYT, México-SAGPDB Short Introduction to R 1/51 Contents 1 Introduction 2 Simple objects 3 User defined
More informationIntroduction to R (BaRC Hot Topics)
Introduction to R (BaRC Hot Topics) George Bell September 30, 2011 This document accompanies the slides from BaRC s Introduction to R and shows the use of some simple commands. See the accompanying slides
More informationLecture 1: Getting Started and Data Basics
Lecture 1: Getting Started and Data Basics The first lecture is intended to provide you the basics for running R. Outline: 1. An Introductory R Session 2. R as a Calculator 3. Import, export and manipulate
More informationMails : ; Document version: 14/09/12
Mails : leslie.regad@univ-paris-diderot.fr ; gaelle.lelandais@univ-paris-diderot.fr Document version: 14/09/12 A freely available language and environment Statistical computing Graphics Supplementary
More informationAn Introduction to Statistical Computing in R
An Introduction to Statistical Computing in R K2I Data Science Boot Camp - Day 1 AM Session May 15, 2017 Statistical Computing in R May 15, 2017 1 / 55 AM Session Outline Intro to R Basics Plotting In
More informationIntroduction to R: Part I
Introduction to R: Part I Jeffrey C. Miecznikowski March 26, 2015 R impact R is the 13th most popular language by IEEE Spectrum (2014) Google uses R for ROI calculations Ford uses R to improve vehicle
More information8.1 Come analizzare i dati: R
8.1 Come analizzare i dati: R Insegnamento di Informatica Elisabetta Ronchieri Corso di Laurea di Economia, Universitá di Ferrara I semestre, anno 2014-2015 Elisabetta Ronchieri (Universitá) Insegnamento
More informationRecap From Last Time:
BIMM 143 More on R functions and packages Lecture 7 Barry Grant http://thegrantlab.org/bimm143 Office hour check-in! Recap From Last Time: Covered data input with the read.table() family of functions including
More informationWorking with R in batch mode: Some notes for beginners
Working with R in batch mode: Some notes for beginners Michael Lundholm January 2, 2013 Version 1.2 1 Introduction The purpose of this note is help beginners to R 1 to use the software in batch mode. A
More informationGetting Started with ORE - 1
Hello, and welcome to this online, self-paced lesson entitled Getting Started with ORE. This session is part of an eight-lesson tutorial series on Oracle R Enterprise. My name is Brian Pottle. I will be
More informationBGGN 213 More on R functions and packages Barry Grant
BGGN 213 More on R functions and packages Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Data frames are created with the data.frame() function as well as the read.table() family of functions
More informationProgramming R. Manuel J. A. Eugster. Chapter 1: Basic Vocabulary. Last modification on April 11, 2012
Manuel J. A. Eugster Programming R Chapter 1: Basic Vocabulary Last modification on April 11, 2012 Draft of the R programming book I always wanted to read http://mjaeugster.github.com/progr Licensed under
More informationIASC-ERS Summer School CoDaCourse 2014
IASC-ERS Summer School CoDaCourse 2014 3. Software www.compositionaldata.com Dept. Informàtica, Matemàtica Aplicada i Estadística Universitat de Girona Campus Montilivi, EPS-4 E-17071 Girona (Spain) [Coord:
More informationR Short Course Session 1
R Short Course Session 1 Daniel Zhao, PhD Sixia Chen, PhD Department of Biostatistics and Epidemiology College of Public Health, OUHSC 10/23/2015 Outline Overview of the 5 sessions Pre-requisite requirements
More informationStep by step to getting R installed on your computer
Step by step to getting R installed on your computer 1. Go to the R-Project webpage (www.r-project.org) 2. Select the CRAN option under Download on the left hand side of the page: 3. On the CRAN Mirrors
More informationPackage BiocInstaller
Package BiocInstaller April 7, 2018 Title Install/Update Bioconductor, CRAN, and github Packages This package is used to install and update Bioconductor, CRAN, and (some) github packages. Version 1.29.6
More informationIntroduction to R environment 3
Introduction to R environment 3 Marcin Kierczak 07 October 2016 Working with R There are several ways to work with/in R: from a command line, in batch mode, from a native GUI, using external editor, e.g.
More informationHow to program with Matlab (PART 1/3)
Programming course 1 09/12/2013 Martin SZINTE How to program with Matlab (PART 1/3) Plan 0. Setup of Matlab. 1. Matlab: the software interface. - Command window - Command history - Section help - Current
More informationGRAD6/8104; INES 8090 Spatial Statistic Spring 2017
Lab #1 Basics in Spatial Statistics (Due Date: 01/30/2017) PURPOSES 1. Get familiar with statistics and GIS 2. Learn to use open-source software R for statistical analysis Before starting your lab, create
More informationProgramming in R Very Short Introduction. Why Programming in R? Outline. Thomas Girke. October 1, 2010
Very Short Introduction Thomas Girke October, Slide / Slide / Outline Why? Complete statistical package and programming language Efficient data structures make programming very easy Ease of implementing
More informationProgramming in R. Very Short Introduction. Thomas Girke. October 1, Programming in R Slide 1/21
Programming in R Very Short Introduction Thomas Girke October 1, 21 Programming in R Slide 1/21 Programming in R LATEX Documents and References Sweave: R/Latex Hybrid Code for Reproducible Research Examples
More informationIntroduction to MATLAB
Introduction to MATLAB What you will learn The most important commands (from my view) Writing scripts (.m files) Defining MATLAB variables Matrix/array operations Importing and extracting data 2D plots
More informationIntroduction to R. Daniel Berglund. 9 November 2017
Introduction to R Daniel Berglund 9 November 2017 1 / 15 R R is available at the KTH computers If you want to install it yourself it is available at https://cran.r-project.org/ Rstudio an IDE for R is
More informationIntroduction to R and Bioconductor
Introduction to R and Bioconductor RNA-Seq / ChIP-Seq Data Analysis Workshop 10 September 2012 CSC, Helsinki Nicolas Delhomme A bit of interaction? What is your R knowledge, on a 0 (beginner) to 2 (expert)
More informationClaNC: The Manual (v1.1)
ClaNC: The Manual (v1.1) Alan R. Dabney June 23, 2008 Contents 1 Installation 3 1.1 The R programming language............................... 3 1.2 X11 with Mac OS X....................................
More informationIntroduction to R Jason Huff, QB3 CGRL UC Berkeley April 15, 2016
Introduction to R Jason Huff, QB3 CGRL UC Berkeley April 15, 2016 Installing R R is constantly updated and you should download a recent version; the version when this workshop was written was 3.2.4 I also
More informationAuthor: Leonore Findsen, Qi Wang, Sarah H. Sellke, Jeremy Troisi
0. Downloading Data from the Book Website 1. Go to http://bcs.whfreeman.com/ips8e 2. Click on Data Sets 3. Click on Data Sets: PC Text 4. Click on Click here to download. 5. Right Click PC Text and choose
More informationRecap From Last Time: Today s Learning Goals BIMM 143. Data analysis with R Lecture 4. Barry Grant.
BIMM 143 Data analysis with R Lecture 4 Barry Grant http://thegrantlab.org/bimm143 Recap From Last Time: Substitution matrices: Where our alignment match and mis-match scores typically come from Comparing
More informationTutorial (Unix Version)
Tutorial (Unix Version) S.f.Statistik, ETHZ February 26, 2010 Introduction This tutorial will give you some basic knowledge about working with R. It will also help you to familiarize with an environment
More informationPOL 345: Quantitative Analysis and Politics
POL 345: Quantitative Analysis and Politics Precept Handout 1 Week 2 (Verzani Chapter 1: Sections 1.2.4 1.4.31) Remember to complete the entire handout and submit the precept questions to the Blackboard
More informationIntroduction to R. Course in Practical Analysis of Microarray Data Computational Exercises
Introduction to R Course in Practical Analysis of Microarray Data Computational Exercises 2010 March 22-26, Technischen Universität München Amin Moghaddasi, Kurt Fellenberg 1. Installing R. Check whether
More informationGETTING STARTED. A Step-by-Step Guide to Using MarketSight
GETTING STARTED A Step-by-Step Guide to Using MarketSight Analyze any dataset Run crosstabs Test statistical significance Create charts and dashboards Share results online Introduction MarketSight is a
More informationWeekly Discussion Sections & Readings
Weekly Discussion Sections & Readings Teaching Fellows (TA) Name Office Email Mengting Gu Bass 437 mengting.gu (at) yale.edu Paul Muir Bass437 Paul.muir (at) yale.edu Please E-mail cbb752@gersteinlab.org
More informationBasic R Part 1 BTI Plant Bioinformatics Course
Basic R Part 1 BTI Plant Bioinformatics Course Spring 2013 Sol Genomics Network Boyce Thompson Institute for Plant Research by Jeremy D. Edwards What is R? Statistical programming language Derived from
More informationInstructions and Result Summary
Instructions and Result Summary VU Biostatistics and Experimental Design PLA.216 Exercise 1 Introduction to R & Biostatistics Name and Student ID MAXIMILIANE MUSTERFRAU 01330974 Name and Student ID JOHN
More informationIntroduction to R. UCLA Statistical Consulting Center R Bootcamp. Irina Kukuyeva September 20, 2010
UCLA Statistical Consulting Center R Bootcamp Irina Kukuyeva ikukuyeva@stat.ucla.edu September 20, 2010 Outline 1 Introduction 2 Preliminaries 3 Working with Vectors and Matrices 4 Data Sets in R 5 Overview
More informationComputational Methods of Scientific Programming
12.010 Computational Methods of Scientific Programming Lecturers Thomas A Herring, Jim Elliot, Chris Hill, Summary of Today s class We will look at Matlab: History Getting help Variable definitions and
More informationStatistics 13, Lab 1. Getting Started. The Mac. Launching RStudio and loading data
Statistics 13, Lab 1 Getting Started This first lab session is nothing more than an introduction: We will help you navigate the Statistics Department s (all Mac) computing facility and we will get you
More informationa suite of operators for calculations on arrays, in particular
The R Environment (Adapted from the Venables and Smith R Manual on www.r-project.org and from Andreas Buja s web site for Applied Statistics at http://www-stat.wharton.upenn.edu/ buja/stat-541/notes-stat-541.r)
More informationGetting Started with Python
Getting Started with Python Python is a general purpose, high level programming language that is used in a variety of application domains. The Python language has a very clear and expressive syntax as
More informationChapter 1 Introduction to using R with Mind on Statistics
Chapter 1 Introduction to using R with Mind on Statistics Manual overview The purpose of this manual is to help you learn how to use the free R software to perform the graphs, simulations, and data analyses
More informationIntroduction to R Benedikt Brors Dept. Intelligent Bioinformatics Systems German Cancer Research Center
Introduction to R Benedikt Brors Dept. Intelligent Bioinformatics Systems German Cancer Research Center What is R? R is a statistical computing environment with graphics capabilites It is fully scriptable
More informationR Primer for Introduction to Mathematical Statistics 8th Edition Joseph W. McKean
R Primer for Introduction to Mathematical Statistics 8th Edition Joseph W. McKean Copyright 2017 by Joseph W. McKean at Western Michigan University. All rights reserved. Reproduction or translation of
More informationGetting Started With. A Step-by-Step Guide to Using WorldAPP Analytics to Analyze Survey Data, Create Charts, & Share Results Online
Getting Started With A Step-by-Step Guide to Using WorldAPP Analytics to Analyze Survey, Create Charts, & Share Results Online Variables Crosstabs Charts PowerPoint Tables Introduction WorldAPP Analytics
More informationInterface. 2. Interface Adobe InDesign CS2 H O T
2. Interface Adobe InDesign CS2 H O T 2 Interface The Welcome Screen Interface Overview The Toolbox Toolbox Fly-Out Menus InDesign Palettes Collapsing and Grouping Palettes Moving and Resizing Docked or
More informationCPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment.
CPS109 Lab 1 Source: Partly from Big Java lab1, by Cay Horstmann. Objective: i. To become familiar with the Ryerson Computer Science laboratory environment. ii. To obtain your login id and to set your
More informationLAB #1: DESCRIPTIVE STATISTICS WITH R
NAVAL POSTGRADUATE SCHOOL LAB #1: DESCRIPTIVE STATISTICS WITH R Statistics (OA3102) Lab #1: Descriptive Statistics with R Goal: Introduce students to various R commands for descriptive statistics. Lab
More informationGS Analysis of Microarray Data
GS01 0163 Analysis of Microarray Data Keith Baggerly and Kevin Coombes Section of Bioinformatics Department of Biostatistics and Applied Mathematics UT M. D. Anderson Cancer Center kabagg@mdanderson.org
More informationPart 1: Getting Started
Part 1: Getting Started 140.776 Statistical Computing Ingo Ruczinski Thanks to Thomas Lumley and Robert Gentleman of the R-core group (http://www.r-project.org/) for providing some tex files that appear
More informationWhat is UNIX? A Little Bit about UNIX and User Interfaces. Adapted from Practical Unix and Programming Hunter College
What is UNIX? A Little Bit about UNIX and User Interfaces Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss What is UNIX? It is a multi-user, multi-tasking operating
More informationModule 1: Introduction RStudio
Module 1: Introduction RStudio Contents Page(s) Installing R and RStudio Software for Social Network Analysis 1-2 Introduction to R Language/ Syntax 3 Welcome to RStudio 4-14 A. The 4 Panes 5 B. Calculator
More informationSpecialist ICT Learning
Specialist ICT Learning APPLIED DATA SCIENCE AND BIG DATA ANALYTICS GTBD7 Course Description This intensive training course provides theoretical and technical aspects of Data Science and Business Analytics.
More informationRNA-Seq. Joshua Ainsley, PhD Postdoctoral Researcher Lab of Leon Reijmers Neuroscience Department Tufts University
RNA-Seq Joshua Ainsley, PhD Postdoctoral Researcher Lab of Leon Reijmers Neuroscience Department Tufts University joshua.ainsley@tufts.edu Day four Quantifying expression Intro to R Differential expression
More informationCSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse
CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse Goals - to become acquainted with the Linux/Gnome environment Overview For this lab, you will login to a workstation
More informationIntro to R. Fall Fall 2017 CS130 - Intro to R 1
Intro to R Fall 2017 Fall 2017 CS130 - Intro to R 1 Intro to R R is a language and environment that allows: Data management Graphs and tables Statistical analyses You will need: some basic statistics We
More informationLecture 2. Software Development on Linux Platforms (Cygwin( Cygwin,, etc.) INTRODUCTION TO DESIGN AUTOMATION. Guoyong Shi, PhD
INTRODUCTION TO DESIGN AUTOMATION Lecture 2. Software Development on Linux Platforms (Cygwin( Cygwin,, etc.) Guoyong Shi, PhD shiguoyong@ic.sjtu.edu.cn School of Microelectronics Shanghai Jiao Tong University
More informationGetting Started with R
Getting Started with R STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat/stat133 Course web: gastonsanchez.com/stat133 Tool Some of you may have used
More informationMATLAB Introduction To Engineering for ECE Topics Covered: 1. Creating Script Files (.m files) 2. Using the Real Time Debugger
25.108 Introduction To Engineering for ECE Topics Covered: 1. Creating Script Files (.m files) 2. Using the Real Time Debugger SCRIPT FILE 77-78 A script file is a sequence of MATLAB commands, called a
More informationComputational statistics Jamie Griffin. Semester B 2018 Lecture 1
Computational statistics Jamie Griffin Semester B 2018 Lecture 1 Course overview This course is not: Statistical computing Programming This course is: Computational statistics Statistical methods that
More informationCrossdateR: a visualization tool to assess the quality of crossdated tree-ring series
CrossdateR: a visualization tool to assess the quality of crossdated tree-ring series Dr. Christof Bigler Department of Geography, University of Colorado Boulder, CO 80903, USA E-mail: christof.bigler@colorado.edu
More informationpmg John Verzani October 25, 2007
pmg John Verzani pmgrgui@gmail.com October 25, 2007 Abstract: The pmg package provides a simple GUI for R using the GTK2 toolkit. the pmg GUI is similar in intent to the more mature Rcmdr GUI which uses
More informationStatistical Programming with R
(connorharris@college.harvard.edu) CS50, Harvard University October 27, 2015 If you want to follow along with the demos, download R at cran.r-project.org or from your Linux package manager What is R? Programming
More informationWhat is KNIME? workflows nodes standard data mining, data analysis data manipulation
KNIME TUTORIAL What is KNIME? KNIME = Konstanz Information Miner Developed at University of Konstanz in Germany Desktop version available free of charge (Open Source) Modular platform for building and
More informationMATLAB Demo. Preliminaries and Getting Started with Matlab
Math 250C Sakai submission Matlab Demo 1 Created by G. M. Wilson, revised 12/23/2015 Revised 09/05/2016 Revised 01/07/2017 MATLAB Demo In this lab, we will learn how to use the basic features of Matlab
More informationBarry Grant
Barry Grant bjgrant@umich.edu http://thegrantlab.org What is R? R is a freely distributed and widely used programing language and environment for statistical computing, data analysis and graphics. R provides
More informationRegression III: Advanced Methods
Lecture 2: Software Introduction Regression III: Advanced Methods William G. Jacoby Department of Political Science Michigan State University jacoby@msu.edu Getting Started with R What is R? A tiny R session
More informationA Guide for the Unwilling S User
A Guide for the Unwilling S User Patrick Burns Original: 2003 February 23 Current: 2005 January 2 Introduction Two versions of the S language are available a free version called R, and a commercial version
More informationComputer lab 2 Course: Introduction to R for Biologists
Computer lab 2 Course: Introduction to R for Biologists April 23, 2012 1 Scripting As you have seen, you often want to run a sequence of commands several times, perhaps with small changes. An efficient
More informationThis document is designed to get you started with using R
An Introduction to R This document is designed to get you started with using R We will learn about what R is and its advantages over other statistics packages the basics of R plotting data and graphs What
More informationIntroduction to R. base -> R win32.exe (this will change depending on the latest version)
Dr Raffaella Calabrese, Essex Business School 1. GETTING STARTED Introduction to R R is a powerful environment for statistical computing which runs on several platforms. R is available free of charge.
More informationIN-CLASS EXERCISE: INTRODUCTION TO R
NAVAL POSTGRADUATE SCHOOL IN-CLASS EXERCISE: INTRODUCTION TO R Survey Research Methods Short Course Marine Corps Combat Development Command Quantico, Virginia May 2013 In-class Exercise: Introduction to
More informationEric Pitman Summer Workshop in Computational Science
Eric Pitman Summer Workshop in Computational Science 1. The R command line; using variables Jeanette Sperhac VIDIA Dashboard: RStudio Tool R Practical Matters R is case sensitive (R!= r) Command line prompt
More informationLab: Using R and Bioconductor
Lab: Using R and Bioconductor Robert Gentleman Florian Hahne Paul Murrell June 19, 2006 Introduction In this lab we will cover some basic uses of R and also begin working with some of the Bioconductor
More informationBusiness Statistics: R tutorials
Business Statistics: R tutorials Jingyu He September 29, 2017 Install R and RStudio R is a free software environment for statistical computing and graphics. Download free R and RStudio for Windows/Mac:
More informationTutorial (Unix Version)
Tutorial (Unix Version) S.f.Statistik, ETHZ April 11, 2011 Introduction This tutorial will give you some basic knowledge about working with R. It will also help you to familiarize with an environment to
More information