Download presentation
Presentation is loading. Please wait.
1
Microarray and RNA-seq Data Analysis
Chapter 11: Gene Expression: Microarray and RNA-seq Data Analysis Jonathan Pevsner, Ph.D. Bioinformatics and Functional Genomics (Wiley-Liss, 3rd edition, 2015) You may use this PowerPoint for teaching purposes
2
Learning objectives After completing this chapter you should be able to: explain what preprocessing is and how normalization of microarrays is accomplished; define a t-test and probability values; describe different kinds of exploratory statistics (clustering, principal compenents analysis); explain how they are used to visualize gene expression data; and analyze both microarray and RNA-seq datasets.
3
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
4
Workflow for assessing RNA changes (“gene expression”)
B&FG 3e Fig. 11.1 Page 481
5
Workflow for assessing RNA changes (“gene expression”)
B&FG 3e Fig. 11.1 Page 481
6
Workflow for assessing RNA changes (“gene expression”)
B&FG 3e Fig. 11.1 Page 481
7
Workflow for assessing RNA changes (“gene expression”)
B&FG 3e Fig. 11.1 Page 481
8
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
9
GEO2R executes a series of R scripts
We begin with GEO2R. Simple, web-based tool available at NCBI We’ll compare trisomy 21 and euploid samples Although it’s simple to use, it uses R code that we’ll return to soon. This R code involves a steep learning curve, but you can look at via GEO2R. B&FG 3e Page 482 Comments are indicated in lines with # and green font.
10
GEO2R executes a series of R scripts
B&FG 3e Page 482
11
Analysis of GEO datasets using GEO2R at NCBI
We define two groups for analysis (TS21 for trisomy 21, euploid). We tell GEO2R which samples belong in each group. B&FG 3e Fig. 11.2 Page 484
12
Analysis of GEO datasets using GEO2R at NCBI
With the click of a button we get results for differential expression analysis (based on the R package limma). red arrows indicate up-regulated transcripts (in trisomy 21 samples) whose genes are assigned to chromosome 21 B&FG 3e Fig. 11.2 Page 484
13
Using a Fisher’s Exact Test in R to decide if the GEO2R results (up-regulated transcripts on chromosome 21 genes) are significant In R (or in RStudio) get help on how to run Fisher’s Exact Test by entering > ?fisher.test The probability value (p value) is very small; we can reject the null hypothesis. B&FG 3e Page 485
14
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
15
GEO2R results: boxplot of control, experimental samples
The boxplot indicates that the samples we chose to study have been normalized appropriately. B&FG 3e Fig. 11.3 Page 486
16
GEO2R results: boxplot of control, experimental samples
Example of a regulated transcript, SOD1 (derived from a chromosome 21 gene, expressed at a higher level in trisomy 21 cases than controls). trisomy 21 euploid expression levels for SOD1 B&FG 3e Fig. 11.3 Page 486
17
GEO2R normalizes data B&FG 3e Page 486 You can view the R code used to generate the box plot
18
Robust multi-array analysis (RMA)
Developed by Rafael Irizarry, Terry Speed, others Available at as an R package There are three steps: [1] Background adjustment based on a normal plus exponential model (no mismatch data are used) [2] Quantile normalization (nonparametric fitting of signal intensity data to normalize their distribution) [3] Fitting a log scale additive model robustly. The model is additive: probe effect + sample effect
19
Improvements in accuracy and precision using RMA
Accuracy is measured by plotting known concentrations of RNA (x axis) versus observed concentrations (y axis). B&FG 3e Fig. 11.4 Page 489
20
Improvements in accuracy and precision using RMA
Precision is measured by plotting the average log expression value (x axis) versus the log expression standard deviation (y axis). B&FG 3e Fig. 11.4 Page 489
21
Accuracy and precision
Good precision, low accuracy Good accuracy, low precision Good accuracy and precision B&FG 3e Fig. 11.5 Page 490
22
Fold change (log ratios)
To a statistician fold change is sometimes considered meaningless. Fold change can be large (e.g. >>two-fold up- or down-regulation) without being statistically significant (e.g. based on probability values from a t-test or ANOVA). To a biologist fold change is almost always considered important for two reasons. First, a very small but statistically significant fold change might not be relevant to a cell’s function. Second, it is of interest to know which genes are most dramatically regulated, as these are often thought to reflect changes in biologically meaningful transcripts and/or pathways. B&FG 3e Page 490
23
Inferential statistics
Inferential statistics are used to make inferences about a population from a sample. Hypothesis testing is a common form of inferential statistics. A null hypothesis is stated, such as: “There is no difference in signal intensity for the gene expression measurements in normal and diseased samples.” The alternative hypothesis is that there is a difference. We use a test statistic to decide whether to accept or reject the null hypothesis. For many applications, we set the significance level a to p < 0.05.
24
Transcript-specific variance is addressed by a t-test
Each dot is a replicate. Comparison of conditions 3 and 5 would produce a significant difference (we reject the null). Comparison of 3 versus 5 might not. B&FG 3e Fig. 11.5 Page 490
25
t-test: assess differences between two groups
Consider two groups for which you obtain measurements. Set a null hypothesis that there is no difference in the means of these two groups. Set an alternate hypothesis that there is a difference. In the numerator take the absolute value of the difference of the two group means. In the denominator calculate the noise. From the t-statistic obtain a probability value. B&FG 3e Page 491
26
t-test: assess differences between two groups
Perform a t-test in R. Type the command in blue. Comments are in green. Here the p-value is <0.05 (it is ) so we may reject the null hypothesis that there are no differences between these two groups. B&FG 3e Page 492
27
t-test: assess differences between two groups
Here the p-value is >0.05 (it is ). The differences between group 1 (8, 12, 9, 11) and group 2 (12, 12, 12) are not significant. B&FG 3e Page 492
28
t-test: assess differences between two groups
Now the p-value is <0.05 and we reject the null hypothesis. Note that in this example the p value is significant but if these were expression levels the fold change would be exceptionally modest. B&FG 3e Page 492
29
t-test: power calculation
Power is the fraction of true positives that will be detected. It is a value between 0 and 1. The larger the sample size, the larger the power. You can use the R packages pwr or power.t.test. Here we set the sample size (number in each group) to n=11, the threshold for significance to 0.05, and see that the power is 0.6. B&FG 3e Page 493
30
t-test: power calculation
To achieve a power of 0.9 how many samples are required per group? We see that n=22. B&FG 3e Page 493
31
Experimental design for gene expression profiling
B&FG 3e Fig. 11.7 Page 494
32
Inferential statistics: false discovery rate
The false discovery rate (FDR) is a popular multiple corrections correction. A false positive (also called a type I error) is sometimes called a false discovery. The FDR equals the p value of the t-test times the number of genes measured (e.g. for 10,000 genes and a p value of 0.01, there are 100 expected false positives). You can adjust the false discovery rate. For example: FDR # regulated transcripts # false discoveries Would you report 100 regulated transcripts of which 10 are likely to be false positives, or 20 transcripts of which one is likely to be a false positive? B&FG 3e Page 495
33
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
34
Partek offers a commercial package for genomics
Input samples (rows) and probeset measurements (columns). B&FG 3e Fig. 11.8 Page 496 Here we discuss Partek Genomics Suite. Partek Flow is a separate product for NGS applications.
35
Partek for gene expression analysis: QC plot
B&FG 3e Fig. 11.9 Page 497
36
Partek for gene expression analysis: QC plot
B&FG 3e Fig. 11.9 Page 497
37
Partek for gene expression analysis: MA plot
An MA plot shows expression levels (x-axis) for measured data points and up- and down-regulation for individual transcripts (y-axis). B&FG 3e Fig. 11.9 Page 497
38
Log2 and log10 values Expression values are routinely transformed into log base 2 space. For a comparison of a sample to a control the log2 ratio is 0. Two-fold up-regulation has a log2 value of +1.0, while two-fold down-regulation has a value of -1.0. B&FG 3e Table 11.1 Page 499
39
Partek for gene expression analysis: PCA plot
cerebrum cerebellum heart astrocyte Here a principal components analysis (PCA) plot shows n=25 data points (one for each sample). These points are annotated by disease diagnosis (left) or tissue type (right). B&FG 3e Fig Page 500
40
Principal components analysis (PCA)
An exploratory technique used to reduce the dimensionality of the data set to 2D or 3D For a matrix of m genes x n samples, create a new covariance matrix of size n x n Thus transform some large number of variables into a smaller number of uncorrelated variables called principal components (PCs).
41
Principal components analysis (PCA): objectives
• to reduce dimensionality • to determine the linear combination of variables • to choose the most useful variables (features) • to visualize multidimensional data • to identify groups of objects (e.g. genes/samples) • to identify outliers
42
Partek for gene expression analysis: PCA plot
PCA can be performed on rows or columns of any matrix. Here individual expression points are plotted (left). Select a few points and examine their profile across all 25 samples (right). The fact that they have similar expression patterns explains why they are adjacent in PCA space. B&FG 3e Fig Page 500
43
Principal components analysis
The first principal component (PC) follows a “best fit” through the data points. Other PCs must cross the origin of the plot, and must be orthogonal. B&FG 3e Fig Page 501
44
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
45
Analysis of variance (ANOVA)
Open the ANOVA dialog box in Partek. From the list of experimental factors (left panel, e.g. type [TS21 vs. control], tissue, date) we can choose ANOVA factors (right panel) including interactions (e.g. type * tissue). B&FG 3e Fig Page 502
46
Analysis of variance (ANOVA)
ANOVA reports F ratios, indicating the relative contributions of various factors to the observed expression data. Here tissue has a very large effect (e.g. gene expression profile of heart is very different than that of brain). B&FG 3e Fig Page 502
47
Volcano plot: significantly regulated genes vs. fold change
A volcano plot shows fold change (x-axis) versus p value from ANOVA (y-axis). Each point is the expression level of a transcript. Points high up on the y-axis (above the pale green horizontal line) are significantly regulated. B&FG 3e Fig Page 502
48
Test statistics for gene expression data
B&FG 3e Table 11.2 Page 503
49
ANOVA can partition the data, boosting the signal to noise ratio
A t-test (left) allows you to detect signal in the context of some noise. ANOVA (right) further partitions the noise by accounting for factors such as age, batch, and date. B&FG 3e Fig Page 503
50
ANOVA The ANOVA identifies differentially expressed genes while accounting for variance that occurs both within groups and between groups. ANOVA is particularly appropriate when an experiment has multiple classes of treatment (e.g., control samples are compared to two different disease states or to five different time points) or multiple factors for each treatment (e.g., gender, age, date of RNA isolation, hybridization batch). ANOVA is a statistical model called a general linear model. It takes the form: where Y is a linear function of X with slope β and intercept μ, and x1, x2, ..., xj is a series of independent variables; ε is an error term. B&FG 3e Page 504
51
ANOVA For expression data a commonly used model is:
Yijk represents a pre-processed probe intensity measurement k (in the log2 scale) of transcript i measured by platform j if there are 20,000 transcripts represented on a microarray, there will be that many Yijk values The terms φ and θ are independent variables associated with expression measurement and probe effects. θi is the absolute gene expression value in the log2 scale φij is a platform-specific probe effect εijk represents a term for measurement error (residual, unexplained variance). B&FG 3e Page 504
52
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
53
Gene expression analysis using R
There are over 1,000 R packages available in BioConductor, including many useful for microarrays or RNA-seq. Begin by obtaining R and RStudio. You can then install packages and load them. B&FG 3e Page 505
54
Gene expression analysis using R
Create a text file (pheno.txt) with phenotypic data (e.g. sex, diagnosis, date experiment was performed, batch information). Then load it into the R object phenoData using the read.AnnotatedDataFrame function. Here is information about the object phenodata: B&FG 3e Page 505
55
Gene expression analysis using R
The affy package incudes justRMA, a function that reads CEL files, performs RMA, and computes expression measures. We will use it to read in CEL files from our working directory. Type> ?justRMA for a help page describing the arguments and usage details. B&FG 3e Page 506
56
Gene expression analysis using R
Look at the contents of the MyBioinfData object. There are 25 samples, 22,283 genes, and annotation data from a particular expression platform (here Affymetrix U133a). B&FG 3e Page 506
57
Gene expression analysis using R
Employ rma, a function that converts an AffyBatch object into an ExpressionSet object. The rma function implements RMA by: (1) probe-specific correction of perfect match probes; (2) normalization of corrected perfect match probes by quantile normalization; and (3) calculation of expression measures using median polish. B&FG 3e Page 506
58
Gene expression analysis using R
We can view the effects of these steps before and after normalization for three kinds of plots: B&FG 3e Page 506
59
Histograms of expression data in R
Before (left) and after (right) normalization. B&FG 3e Fig Page 507
60
Boxplots of expression data in R
Before (left) and after (right) normalization. B&FG 3e Fig Page 507
61
MA plots of expression data in R
Before (left) and after (right) normalization. B&FG 3e Fig Page 507
62
Identifying differentially expressed genes with Limma in R
limma requires a design matrix representing the different RNA targets that have been hybridized to the array, and a contrast matrix that allows analysis of contrasts of interest based on coefficients defined by the design matrix. We use model.matrix (from the stats package) to create a design matrix from the description given in eset. Then we use lmFit to fit a linear model for each gene (i.e., probeset) across our series of microarrays . B&FG 3e Page 508
63
Identifying differentially expressed genes with Limma in R
Examine the fit object: B&FG 3e Page 508
64
Identifying differentially expressed genes with Limma in R
Examine the fit object: B&FG 3e Page 508
65
Identifying differentially expressed genes with Limma in R
Use ebayes to make an empirical Bayes adjustment. topTable generates a table of differentially expressed probesets. The fix command lets us view the results by calling a data editor for a data frame (Table 11.3, next slide). We can also export these results, or annotate them for further analysis. B&FG 3e Page 508
66
(limma analysis of differential gene expression)
results of topTable (limma analysis of differential gene expression) These are the regulated trancripts with the lowest p values. B&FG 3e Table 11.3 Page 509
67
What are the gene symbols and chromosome locations of the top 10 hits from Limma? Use biomaRt.
See Chapter 8 for an introduction to the R package biomaRt. B&FG 3e Page 509
68
What are the gene symbols and chromosome locations of the top 10 hits from Limma? Use biomaRt.
7 of the top 10 regulated genes are assigned to chromosome 21. B&FG 3e Page 509
69
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
70
Descriptive statistics
Microarray data are highly dimensional: there are many thousands of measurements made from a small number of samples. Descriptive (exploratory) statistics help you to find meaningful patterns in the data. A first step is to arrange the data in a matrix. Next, use a distance metric to define the relatedness of the different data points. Two commonly used distance metrics are: -- Euclidean distance -- Pearson coefficient of correlation B&FG 3e Page 511
71
Descriptive statistics: clustering
Clustering algorithms offer useful visual descriptions of microarray data. Genes may be clustered, or samples, or both. We will next describe hierarchical clustering. This may be agglomerative (building up the branches of a tree, beginning with the two most closely related objects) or divisive (building the tree by finding the most dissimilar objects first). In each case, we end up with a tree having branches and nodes.
72
Agglomerative clustering
1 2 3 4 a a,b b c d e B&FG 3e Fig Page 512 Adapted from Kaufman and Rousseeuw (1990)
73
Agglomerative clustering
1 2 3 4 a a,b b c d d,e e B&FG 3e Fig Page 512
74
Agglomerative clustering
1 2 3 4 a a,b b c c,d,e d d,e e B&FG 3e Fig Page 512
75
Agglomerative clustering
1 2 3 4 a a,b b a,b,c,d,e c c,d,e d d,e e …tree is constructed B&FG 3e Fig Page 512
76
Divisive clustering a,b,c,d,e 4 3 2 1 B&FG 3e Fig Page 512
77
Divisive clustering a,b,c,d,e c,d,e B&FG 3e Fig. 11.15 Page 512 4 3 2
B&FG 3e Fig Page 512
78
Divisive clustering a,b,c,d,e c,d,e d,e B&FG 3e Fig. 11.15 Page 512 4
B&FG 3e Fig Page 512
79
Divisive clustering a,b a,b,c,d,e c,d,e d,e B&FG 3e Fig. 11.15
4 3 2 1 B&FG 3e Fig Page 512
80
Divisive clustering a a,b b a,b,c,d,e c c,d,e d d,e e
4 3 2 1 …tree is constructed B&FG 3e Fig Page 512
81
agglomerative a a,b b a,b,c,d,e c c,d,e d d,e e divisive
1 2 3 4 a a,b b a,b,c,d,e c c,d,e d d,e e 4 3 2 1 divisive B&FG 3e Fig Page 512 Adapted from Kaufman and Rousseeuw (1990)
82
Hierarchical clustering of 250 chromosome 21 transcripts
in 25 samples using Partek software B&FG 3e Fig Page 514 Hierarchical clustering of microarray data using the default settings of Euclidean dissimilarity for rows (samples) and columns (transcripts). Colors correspond to expression intensity values.
83
Hierarchical clustering of 250 chromosome 21 transcripts
in 25 samples using Partek software For (b–f) the clustering was repeated and only the dendrograms of 25 samples are shown. These use metrics of (b) Canberra, (c) Pearson’s dissimilarity, and (d) city block (d). The clustering methods are (a–d) average linkage, (e) centroid linkage, and (f) complete linkage (f). B&FG 3e Fig Page 514
84
Defining the relatedness between clusters
B&FG 3e Fig Page 515
85
What is a cluster? A cluster is a group that has homogeneity (internal cohesion) and separation (external isolation). The relationships between objects being studied are assessed by similarity or dissimilarity measures.
86
Examples of the nature of clusters
A shift of just one or two data points can create the appearance of one versus two clusters Points j and k are (by eye) in two separate clusters, but they are closer to each other than to the centroid of each cluster. They may be hard to classify correctly. Points m and n are within one cluster, but have large separation and could be misclassified. B&FG 3e Fig Page 514
87
Data visualization methods
Partition clustering B&FG 3e Fig Page 518
88
Data visualization methods
k-means clustering B&FG 3e Fig Page 518
89
Data visualization methods
Multidimensional scaling B&FG 3e Fig Page 518
90
Data visualization methods
Self-organizing map B&FG 3e Fig Page 518
91
Classification Ten-fold leave one out cross-validation: in a series of passes, use 90% of the data to train a classifier (e.g. to classify trisomy 21 vs. euploid samples), then test on 10% of the data. B&FG 3e Fig Page 520
92
classification of tissue types from gene expression data
Confusion matrix: classification of tissue types from gene expression data Rows show the true tissue Columns show the predicted tissue (based on a classifier) Values on diagonal indicate perfect classifier See top row: Here 3 true cerebellum samples are correctly called based on expression data, but two cerebellum samples are misclassified as cerebrum and one as astrocyte. The accuracy of a classifier may be quantitated. B&FG 3e Table 11.4 Page 521
93
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
94
RNA-seq RNA-seq is used to accomplish the same goal as microarrays: quantifying RNA transcript levels. However, it is considered revolutionary because it allows the measurement of essentially all RNA transcripts (rather than only those pre-selected on a microarray surface), it has a broader dynamic range, it allows identification of novel transcripts and transcript isoforms, and it is able to quantify alternative splicing events. B&FG 3e Page 519
95
Workflow for RNA-seq data analysis
B&FG 3e Fig Page 522
96
Workflow for RNA-seq data analysis
Be sure to select an adequate sample size. Here is a sample power calculation in R: B&FG 3e Fig Page 522
97
Workflow for RNA-seq data analysis
B&FG 3e Fig Page 522
98
Workflow for RNA-seq data analysis
B&FG 3e Fig Page 522
99
Method for targeted RNA-seq B&FG 3e Fig Page 523
100
RNA-seq data analysis: example using TopHat, CuffLinks
We next perform RNA-seq data analysis following a tutorial published by Trapnell et al. (2013). This provides a detailed protocol. Begin by creating directories you’ll need. Download and unpack a Drosophila data set. B&FG 3e Page 522
101
RNA-seq data analysis: example using TopHat, CuffLinks
We B&FG 3e Page 522
102
RNA-seq data analysis: example using TopHat, CuffLinks
Use Tophat, a fast splice junction mapper for RNA-seq data. Specify the number of processors (-p 8) the reference genome (-G genes.gtf) the output file names (e.g. -o C1_R1_thout) where thout is TopHat output; and the input fastq files (here C1 and C2 are condition 1 and condition 2; R1-R2 are replicates 1-3; *_1.fq and _2.fq refer to forward and reverse reads). B&FG 3e Page 524
103
RNA-seq data analysis: example using TopHat, CuffLinks
A series of BAM files is produced, representing aligned reads. Assess the quality: Use CuffLinks to assemble transcripts: B&FG 3e Page 525
104
RNA-seq data analysis: example using TopHat, CuffLinks
Create a text file, assemblies.txt. Run Cuffmerge on all the assemblies. This generates a single merged transcriptome annotation. B&FG 3e Page 525
105
RNA-seq data analysis: example using TopHat, CuffLinks
Use Cuffdiff to identify differentially expressed genes and transcripts. We use the merged transcriptome assembly and the BAM files from TopHat. B&FG 3e Page 525
106
RNA-seq data analysis: example using TopHat, CuffLinks
Next use the R package cummeRbund to visualize our results. Take the CuffDiff output and create a cummeRbund database called cuff_data. Before we make plots, let’s look at the database and explore the transcripts that are most regulated based on p value and based on fold change. B&FG 3e Page 526
107
RNA-seq data analysis: example using TopHat, CuffLinks
Create the file gene_diff_data using the diffData function, and then select the subset of significantly regulated transcripts. We see the number of rows (271), the dimensions (271 × 11 columns), and the first few values. B&FG 3e Page 526
108
RNA-seq data analysis: example using TopHat, CuffLinks
Which transcript is up-regulated the most? We can take the sig_gene_data table and sort it by the column log2_fold_change. B&FG 3e Page 527
109
Visualizing RNA-seq data with the R package cummeRbund
Plot the data: distribution of intensity values Scatter plot B&FG 3e Fig Page 528
110
Visualizing RNA-seq data with the R package cummeRbund
Volcano plot Bar plots of expression values B&FG 3e Fig Page 528
111
RGASP: RNA-seq genome annotation assessment project
RGASP was designed to evaluate computational methods to predict and quantify expressed transcripts from RNA-seq data. Developers of 14 software programs analyzed RNA-seq data to assess methods for exon identification, transcript reconstruction, and expression-level quantification (Steijger et al., 2013). Performance was lower for Homo sapiens data than for Drosophila or C. elegans. Identifying all exons cannot be accomplished. Valid assembly of exons into transcript isoforms was accomplished for just 41% of human genes. Methods vary substantially in their estimates of expression levels from the same gene loci. B&FG 3e Page 527
112
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
113
Functional annotation of microarray data
Expression data are commonly annotated with Gene Ontology data (Chapter 12). Pathway analyses are performed with tools such as Ingenuity Pathway Analysis (IPA) and Gene Set Enrichment Analysis (GSEA). GSEA examines predefined groups, such as those genes defined as relevant to heart development or transcription. GSEA tests whether the set of genes in each of those groups are randomly distributed among all 20,000 measurements (null hypothesis) or not (alternate hypothesis). GSEA: (1) calculates an enrichment score; (2) estimates significance with a permutation test (the class labels are permuted randomly as part of the null model, and the enrichment score from scrambled labels is calculated 1000 times); and (3) performs a multiple test correction. The false discovery rate is the estimated probability that a gene set with some enrichment score is a false positive result. B&FG 3e Fig. 11.1 Page 529
114
Outline Introduction Microarray analysis method 1: GEO2R at NCBI
Series of R scripts; chromosomal origin; data normalization; RMA; fold change; tests; multiple comparison correction Microarray analysis method 2: Partek Data import; QC; scatter plots; PCA; ANOVA Microarray analysis method 3: R CEL files; Limma; reproducibility Microarray data analysis: descriptive statistics Hierarchical clustering; k-means; MDS; classification RNA-seq Tophat/Cufflinks; Cuffdiff; CummeRbund; RGASP Functional annotation of microarray data Perspective
115
Perspective DNA microarray technology, introduced in the late 1990s, allows the experimenter to rapidly and quantitatively measure the expression levels of thousands of genes in a biological sample. RNA-seq emerged a decade later. It offers tremendous advantages in detecting and quantitating splice isoforms, discovering new transcribed regions, and offering a wider dynamic range from transcripts expressed at low to high levels. There are also great computational challenges in analyzing RNA-seq data. B&FG 3e Fig. 11.1 Page 529
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.