RNA-seq. Design of experiments

Similar documents
Lecture 21. RNA-seq: Advanced analysis

RNA-seq. Differential analysis

Experimental Studies. Statistical techniques for Experimental Data. Experimental Designs can be grouped. Experimental Designs can be grouped

Experimental Design for Immunologists

Statistics 2. RCBD Review. Agriculture Innovation Program

investigate. educate. inform.

9.0 L '- ---'- ---'- --' X

QA 605 WINTER QUARTER ACADEMIC YEAR

STATISTICAL CONCLUSION VALIDITY

Multiple choice questions: 1. Which of the following is a key distinction between well designed experiments and observational studies?

Principles of Experimental Design

Principles of Experimental Design

Ecological Statistics

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA

Conducting a Good Experiment I: Variables and Control

Chapter 5: Field experimental designs in agriculture

Where does "analysis" enter the experimental process?

Biostatistics for Med Students. Lecture 1

The Practice of Statistics 1 Week 2: Relationships and Data Collection

The essential focus of an experiment is to show that variance can be produced in a DV by manipulation of an IV.

9 research designs likely for PSYC 2100

Analysis of Environmental Data Conceptual Foundations: En viro n m e n tal Data

Unit 1 Exploring and Understanding Data

VALIDITY OF QUANTITATIVE RESEARCH

26:010:557 / 26:620:557 Social Science Research Methods

f WILEY ANOVA and ANCOVA A GLM Approach Second Edition ANDREW RUTHERFORD Staffordshire, United Kingdom Keele University School of Psychology

Chapter 8 Statistical Principles of Design. Fall 2010

Biostatistics 2 nd year Comprehensive Examination. Due: May 31 st, 2013 by 5pm. Instructions:

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process

Name: Experimental Design

Causal Research Design- Experimentation

THE USE OF NONPARAMETRIC PROPENSITY SCORE ESTIMATION WITH DATA OBTAINED USING A COMPLEX SAMPLING DESIGN

Use of the Quantitative-Methods Approach in Scientific Inquiry. Du Feng, Ph.D. Professor School of Nursing University of Nevada, Las Vegas

Randomized Block Designs 1

2.75: 84% 2.5: 80% 2.25: 78% 2: 74% 1.75: 70% 1.5: 66% 1.25: 64% 1.0: 60% 0.5: 50% 0.25: 25% 0: 0%

AP Statistics Unit 4.2 Day 3 Notes: Experimental Design. Expt1:

Chapter 4 DESIGN OF EXPERIMENTS

Designing Experiments... Or how many times and ways can I screw that up?!?

Intro to SPSS. Using SPSS through WebFAS

1. The Role of Sample Survey Design

Topic #6. Quasi-experimental designs are research studies in which participants are selected for different conditions from pre-existing groups.

You can t fix by analysis what you bungled by design. Fancy analysis can t fix a poorly designed study.

Assignment #6. Chapter 10: 14, 15 Chapter 11: 14, 18. Due tomorrow Nov. 6 th by 2pm in your TA s homework box

1a Materials come in different forms (states) including solids,

Part 8 Logistic Regression

Fading Affect Bias (FAB):

PLS 506 Mark T. Imperial, Ph.D. Lecture Notes: Reliability & Validity

10 Intraclass Correlations under the Mixed Factorial Design

Applied Analysis of Variance and Experimental Design. Lukas Meier, Seminar für Statistik

Reliability of Ordination Analyses

Completely randomized designs, Factors, Factorials, and Blocking

ANCOVA with Regression Homogeneity

CONSORT 2010 checklist of information to include when reporting a randomised trial*

What you should know before you collect data. BAE 815 (Fall 2017) Dr. Zifei Liu

USE AND MISUSE OF MIXED MODEL ANALYSIS VARIANCE IN ECOLOGICAL STUDIES1

INTRODUCTION TO STATISTICS SORANA D. BOLBOACĂ

Lecture 1 An introduction to statistics in Ichthyology and Fisheries Science

Validity and Reliability. PDF Created with deskpdf PDF Writer - Trial ::

HOW STATISTICS IMPACT PHARMACY PRACTICE?

STATISTICS & PROBABILITY

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

STATS8: Introduction to Biostatistics. Overview. Babak Shahbaba Department of Statistics, UCI

Design of Experiments & Introduction to Research

MTH 225: Introductory Statistics

04/12/2014. Research Methods in Psychology. Chapter 6: Independent Groups Designs. What is your ideas? Testing

PSY 250. Experimental Design: The Basic Building Blocks. Simple between subjects design. The Two-Group Design 7/25/2015. Experimental design

Lecture Outline. Biost 590: Statistical Consulting. Stages of Scientific Studies. Scientific Method

Statistics and Probability

Previous Example. New. Tradition

WDHS Curriculum Map Probability and Statistics. What is Statistics and how does it relate to you?

Lecture 4: Research Approaches

Epidemiologic Methods I & II Epidem 201AB Winter & Spring 2002

Name: emergency please discuss this with the exam proctor. 6. Vanderbilt s academic honor code applies.

Exercises: Differential Methylation

Psychology Research Process

Sampling Obtaining a portion that is representative of the whole. Some basic terms. Objectives of Sampling

Dr. Allen Back. Oct. 7, 2016

Introduction At times when pollen is scarce in the natural environment

The SAGE Encyclopedia of Educational Research, Measurement, and Evaluation Multivariate Analysis of Variance

Role of Statistics in Research

User Guide. Association analysis. Input

Key questions when starting an econometric project (Angrist & Pischke, 2009):

INTRODUCTION TO STATISTICS

EXPERIMENTAL RESEARCH DESIGNS

Designing an experiment 7 TH /8 TH GRADE SCIENCE

lab exam lab exam Experimental Design Experimental Design when: Nov 27 - Dec 1 format: length = 1 hour each lab section divided in two

Biostatistics II

Two Factor Analysis of Variance

Chapter 1: Exploring Data

Statistical Primer for Cardiovascular Research

Experimental Design There is no recovery from poorly collected data!

Chapter 9: Experiments

Dr. Kelly Bradley Final Exam Summer {2 points} Name

Profile Analysis. Intro and Assumptions Psy 524 Andrew Ainsworth

DATA GATHERING. Define : Is a process of collecting data from sample, so as for testing & analyzing before reporting research findings.

Chapter 11 Nonexperimental Quantitative Research Steps in Nonexperimental Research

Introduction, Evidence, and Sampling

Biological Models of Anxiety

UNIT 4 ALGEBRA II TEMPLATE CREATED BY REGION 1 ESA UNIT 4

Transcription:

RNA-seq Design of experiments

Experimental design

Introduction An experiment is a process or study that results in the collection of data. Statistical experiments are conducted in situations in which researchers can manipulate the conditions of the experiment and can control the factors that are irrelevant to the research objectives.

Statistical design of experiments Experimental design is the process of planning a study to meet specified objectives. Planning an experiment properly is very important in order to ensure that the right type of data and a sufficient sample size and power are available to answer the research questions of interest as clearly and efficiently as possible.

Designing an experiment Perform the following steps when designing an experiment: 1. Define the problem and the questions to be addressed 2. Define the population of interest 3. Determine the need for sampling 4. Define the experimental design

Define problem Before data collection begins, specific questions that the researcher plans to examine must be clearly identified. In addition, a researcher should identify the sources of variability in the experimental conditions. One of the main goals of a designed experiment is to partition the effects of the sources of variability into distinct components in order to examine specific questions of interest. The objective of designed experiments is to improve the precision of the results in order to examine the research hypotheses.

Define population A population is a collective whole of people, animals, plants, or other items that researchers collect data from. Before collecting any data, it is important that researchers clearly define the population, including a description of the members. The designed experiment should designate the population for which the problem will be examined. The entire population for which the researcher wants to draw conclusions will be the focus of the experiment.

Determine the need for sampling A sample is one of many possible sub-sets of units that are selected from the population of interest. In many data collection studies, the population of interest is assumed to be much larger in size than the sample so, potentially, there are a very large (usually considered infinite) number of possible samples. The results from a sample are then used to draw valid inferences about the population.

Determine the need for sampling A random sample is a sub-set of units that are selected randomly from a population. A random sample represents the general population or the conditions that are selected for the experiment because the population of interest is too large to study in its entirety. Using techniques such as random selection after stratification or blocking is often preferred.

Determine the need for sampling Determining the sample size requires some knowledge of the observed or expected variance among sample members in addition to how large a difference among treatments you want to be able to detect. Another way to describe this aspect of the design stage is to conduct a prospective power analysis, which is a brief statement about the capability of an analysis to detect a practical difference. A power analysis is essential so that the data collection plan will work to enhance the statistical tests primarily by reducing residual variation, which is one of the key components of a power analysis study.

Define experimental design Defining the experimental design consists of the following steps: 1. Identify the experimental unit. 2. Identify the types of variables. 3. Define the treatment structure. 4. Define the design structure.

Experimental units An Experimental (or sampling) units is the person or object that will be studied by the researcher. This is the smallest unit of analysis in the experiment from which data will be collected (e.g. patient, mouse, plant, or cell line).

Experimental units An entity receiving an independent application of a treatment is called an experimental unit. An experimental run is the process of applying a particular treatment combination to an experimental unit and recording its response. A replicate is an independent run carried out on a different experimental unit under the same conditions.

Example: Two pots Experimental unit: plant on the pot No replication

Types of variables A data collection plan considers how four important variables: background, constant, uncontrollable, and primary, fit into the study. The explanatory variables are referred to as factors. Inconclusive results are likely to result if any of these classifications are not adequately defined. It is important to consider all the relevant variables before the final data collection plan is approved in order to maximize confidence in the final results.

Background variables Background variables can be identified and measured yet cannot be controlled; they will influence the outcome of an experiment. Background variables will be treated as covariates in the model rather than primary variables.

Primary variables Primary variables are the variables of interest to the researcher. Primary variables are independent variables that are possible sources of variation in the response. These variables comprise the treatment and design structures and are referred to as factors. When background variables are used in an analysis, better estimates of the primary variables should result because the sources of variation that are supplied by the covariates have been removed.

Constant variables Constant variables can be controlled or measured but, for some reason, will be held constant over the duration of the study. This action increases the validity of the results by reducing extraneous sources of variation from entering the data. For this data collection plan, some of the variables that will be held constant include: the use of standard operating procedures the use of one operator for each measuring device all measurements taken at specific times and locations

Uncontrollable variables Uncontrollable variables are those variables that are known to exist, but conditions prevent them from being manipulated, or it is very difficult (due to cost or physical constraints) to measure them. The experimental error is due to the influential effects of uncontrollable variables, which will result in less precise evaluations of the effects of the primary and background variables. The design of the experiment should eliminate or control these types of variables as much as possible in order to increase confidence in the final results.

Explanatory and response variables XX YY - Explanatory variables - Factors - Response variables

Factors - Noise factor - Blocking factor ZZ Treatment factor or design factor XX YY Response variables Levels: XX = xx Treatment combination or treatment: a particular combination of factor levels (e.g. xx 1, xx 2 if there are two treatment factors)

Primary factors The treatment structure consists of factors that the researcher wants to study and about which the researcher will make inferences. The primary (treatment or design) factors are controlled by the researcher and are expected to show the effects of greatest interest on the response variable(s).

Levels The levels of the primary factors represent the range of the inference space relative to a study. The levels of the primary factors can represent the entire range of possibilities or a random sub-set. It is also important to recognize and define when combinations of levels of two or more treatment factors are illogical or unlikely to exist.

Fixed effects Fixed effects treatment factors are usually considered to be "fixed" in the sense that all levels of interest are included in the study because they are selected by some non-random process, they consist of the whole population of possible levels, or other levels were not feasible to consider as part of the study. The fixed effects represent the levels of a set of precise hypotheses of interest in the research. A fixed factor can have only a small number of inherent levels; for example, the only relevant levels for gender are male and female. A factor should also be considered fixed when only certain values of it are of interest, even though other levels might exist. Treatment factors can also be considered "fixed" as opposed to "random" because they are the only levels about which you would want to make inferences.

Three basic principles of experimental design Replication Randomization Blocking

Replication By replication we mean an independent repeat run of each treatment combination. Replication is essential for estimating experimental error. If a treatment condition appears more than one time, it is defined to be replicated. Misconceptions about the number of replications have often occurred in experiments where sub-samples or repeated observations on a unit have been mistaken as additional experimental units.

Randomization By randomization we mean that both the assignment of treatments to units and the order in which the individual runs of the experiments are to be performed are randomly determined. A completely randomized design is an experimental design in which treatments are assigned to all units by randomization.

Example: Randomized Experimental unit: plant on the pot 4 replicates for each treatment

Blocking Most experimental designs require experimental units to be allocated to treatments either randomly or randomly with constraints, as in blocked designs. Blocks are groups of experimental units that are formed to be as homogeneous as possible with respect to the block characteristics. The term block comes from the agricultural heritage of experimental design where a large block of land was selected for the various treatments, that had uniform soil, drainage, sunlight, and other important physical characteristics. Homogeneous clusters improve the comparison of treatments by randomly allocating levels of the treatments within each block.

Blocking Blocking is an experimental design strategy used to reduce or eliminate the variability transmitted from nuisance factors, which may influence the response variable but in which we are not directly interested. Blocking is the grouping of experimental units that have similar properties. Within each block, treatments are randomly assigned to experimental units. The resulting design is called a randomized block design. This design enables more precise estimates of the treatment effects because comparisons between treatments are made among homogeneous experimental units in each block.

Blocking ZZ XX YY

Blocking example Blocking removes the variation in response among chambers, allowing more precise estimates and more powerful tests of the treatment effects.

Design structure The design structure consists of those factors that define the blocking of the experimental units into clusters. The types of commonly used design structures: Completely randomized design Randomized complete block design Factorial design

Completely randomized design Subjects are assigned to treatments completely at random.

Randomized complete block design Subjects are divided into b blocks (see description of blocks above) according to demographic characteristics. Subjects in each block are then randomly assigned to treatments so that all treatment levels appear in each block.

Factorial design Many experiments in biology investigate more than one treatment factor, because: 1. answering two questions from a single experiment rather than just one makes more efficient use of time, supplies, and other costs 2. the factors might interact.

Factorial design An experiment having a factorial design investigates all treatment combinations of two or more treatment factors. A factorial design can measure interactions between factors. An interaction between two (or more) explanatory variables means that the effect of one variable on the response depends on the state of the other variable.

Factorial design XX 2 XX 1 YY

Analyzing data

A unified model: general linear model EE[yy] = ββ 0 + ββ 1 xx 1 + + ββ pp 1 xx pp 1

Basic linear models Model formula Model Design yy~xx Linear regression Dose-response yy~t One-way ANOVA Completely randomized yy~t + b Two-way ANOVA Randomized block yy~t 1 + t 2 + t 1 t 2 Two-way, fixed-effect ANOVA Factorial design yy~tt + xx ANCOVA Observation study with one known noise factor yy~xx 1 + xx 2 + xx 1 xx 2 Multiple linear regression Dose-response xx: numerical, t: categorical treatment factor, b: categorical blocking factor

Randomized complete block design How does fish abundance affects the abundance and diversity of prey species?

Design 3mm 3mm 30 fish 90 fish Control Low High

Data: Zooplankton diversity in three fish abundance treatments 1 2 3 4 5 Control 4.1 3.2 3.0 2.3 2.5 Low 2.2 2.4 1.5 1.3 2.6 High 1.3 2.0 1.0 1.0 1.6

Model: yy~t + b yy ii = ββ 0 + ββ 1 tt ii + ββ 2 b i + εε ii H0: Mean zooplankton diversity is the same in every abundance treatment yy~b H1: Mean zooplankton diversity is not the same in every abundance treatment yy~t + b

Fitting the model to data

Adjusting for a known confounding factor

Adjusting for a known confounding factor Mole rats are the only known mammals with distinct social castes. - A single queen and a small number of males are the only reproducing individuals in a colony. - Workers gather food, defend the colony, care for the young, and maintain the burrows. - Two worker castes in the Damaraland mole rat: - Frequent workers : do almost all of the work in the colony - Infrequent workers : do little work except on rare occasions after rains

Adjusting for a known confounding factor To assess the physiological differences between the two types of workers, researchers compared daily energy expenditures of wild mole rats during a dry season. Known noise factor: Energy expenditure appears to vary with body mass in both groups, but infrequent workers are heavier than frequent workers Research question: How different is mean daily energy expenditure between the two groups when adjusted for differences in body mass?

Data

Data

Model: yy~tt + xx H0: Castes do not differ in energy expenditure yy~xx H1: Castes differ in energy expenditure yy~tt + xx

Fitting the model to data

Example: RNA-seq

Multiple factors Experiments with more than one factor influencing the counts can be analyzed using design formula that include the additional variables. In fact, DESeq2 can analyze any possible experimental design that can be expressed with fixed effects terms (multiple factors, designs with interactions, designs with continuous variables, splines, and so on are all possible). By adding variables to the design, one can control for additional variation in the counts. For example, if the condition samples are balanced across experimental batches, by including the batch factor to the design, one can increase the sensitivity for finding differences due to condition. There are multiple ways to analyze experiments when the additional variables are of interest and not just controlling factors.

Including type

Accounting for type We can account for the different types of sequencing, and get a clearer picture of the differences attributable to the treatment. As condition is the variable of interest, we put it at the end of the formula. Thus the results function will by default pull the condition results unless contrast or name arguments are specified. Then we can rerun DESeq.

Accounting for type

Accounting for type

Accounting for type

Accounting for type It is also possible to retrieve the log2 fold changes, p values and adjusted p values of the type variable. The contrast argument of the function results takes a character vector of length three: the name of the variable, the name of the factor level for the numerator of the log2 ratio, and the name of the factor level for the denominator.

Accounting for type

Gene Ontology

Annotating and exporting results Our result table only contains information about Ensembl gene IDs, but alternative gene names may be more informative for collaborators. Bioconductor s annotation packages help with mapping various ID schemes to each other.

Annotating and exporting results

Annotating and exporting results

Running topgo

Running topgo

Running topgo

Running topgo

Downregulated GO

Upregulated GO

Published results The top 10 most significant terms are shown for downregulated (D) and upregulated (E) genes, respectively.