metaseq: Meta-analysis of RNA-seq count data

Similar documents
Package metaseq. R topics documented: November 1, Type Package. Title Meta-analysis of RNA-Seq count data in multiple studies. Version 1.1.

Package metaseq. R topics documented: August 17, Type Package

GeneOverlap: An R package to test and visualize

MethylMix An R package for identifying DNA methylation driven genes

AIMS: Absolute Assignment of Breast Cancer Intrinsic Molecular Subtype

Introduction to antiprofiles

Using Messina. Mark Pinese. October 13, Introduction The problem Example: Designing a colon cancer screening test...

splicer: An R package for classification of alternative splicing and prediction of coding potential from RNA-seq data

Package AbsFilterGSEA

Using the DART package: Denoising Algorithm based on Relevance network Topology

Supervised analysis of MS images using Cardinal

How To Use SubpathwayGMir

Infer mirna-mrna interactions using paired expression data from a single sample

Supplementary Material for IPred - Integrating Ab Initio and Evidence Based Gene Predictions to Improve Prediction Accuracy

BIMM 143. RNA sequencing overview. Genome Informatics II. Barry Grant. Lecture In vivo. In vitro.

RASA: Robust Alternative Splicing Analysis for Human Transcriptome Arrays

Quality assessment of TCGA Agilent gene expression data for ovary cancer

Applying Metab. Raphael Aggio. October 30, This document describes how to use the function included in the R package Metab.

The LiquidAssociation Package

epigenomix Epigenetic and gene transcription data normalization and integration with mixture models

How To Use MiRSEA. Junwei Han. July 1, Overview 1. 2 Get the pathway-mirna correlation profile(pmset) and a weighting matrix 2

Supplementary Methods: IGFBP7 Drives Resistance to Epidermal Growth Factor Receptor Tyrosine Kinase Inhibition in Lung Cancer

TITAN: Subclonal copy number and LOH prediction from whole genome sequencing of tumours

Mirsynergy: detect synergistic mirna regulatory modules by overlapping neighbourhood expansion

About diffcoexp. Wenbin Wei, Sandeep Amberkar, Winston Hide

Lecture 8 Understanding Transcription RNA-seq analysis. Foundations of Computational Systems Biology David K. Gifford

Supplement to SCnorm: robust normalization of single-cell RNA-seq data

SIMULATED DATA. CMH Argentina. FC Brazil. FA Chile. IHSS/HE Honduras. INCMNSZ Mexico. IMTAvH Peru. Combined

Mirsynergy: detect synergistic mirna regulatory modules by overlapping neighbourhood expansion

38 Int'l Conf. Bioinformatics and Computational Biology BIOCOMP'16

genomics for systems biology / ISB2020 RNA sequencing (RNA-seq)

Supplemental Methods RNA sequencing experiment

User Guide. Association analysis. Input

Cardinal: Analytic tools for mass spectrometry

A Quick-Start Guide for rseqdiff

PSSV User Manual (V2.1)

DNA Sequence Bioinformatics Analysis with the Galaxy Platform

RNA-seq. Differential analysis

Cardinal: Analytic tools for mass spectrometry imaging

Small RNAs and how to analyze them using sequencing

Lecture 21. RNA-seq: Advanced analysis

A fatty liver study on Mus musculus

A fatty liver study on Mus musculus

Matching the Cisplatin Heatmap

RNA-seq: filtering, quality control and visualisation. COMBINE RNA-seq Workshop

RNA-seq. Design of experiments

Package IMAS. March 10, 2019

Evaluation of logistic regression models and effect of covariates for case control study in RNA-Seq analysis

Analysis of Massively Parallel Sequencing Data Application of Illumina Sequencing to the Genetics of Human Cancers

Whole liver transcriptome analysis for the metabolic adaptation of dairy cows

C ellular processes are regulated by complex networks of functionally interacting genes. Differential activity

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based

Exercises: Differential Methylation

Tutorial: RNA-Seq Analysis Part II: Non-Specific Matches and Expression Measures

September 20, 2017 SIMULATED DATA

White Rose Research Online URL for this paper: Version: Supplemental Material

Daehwan Kim September 2018

Data mining with Ensembl Biomart. Stéphanie Le Gras

York criteria, 6 RA patients and 10 age- and gender-matched healthy controls (HCs).

CSDplotter user guide Klas H. Pettersen

Methods: Biological Data

Patnaik SK, et al. MicroRNAs to accurately histotype NSCLC biopsies

LowMACA: Low frequency Mutation Analysis via Consensus Alignment

Supplemental Information. Regulatory T Cells Exhibit Distinct. Features in Human Breast Cancer

EXPression ANalyzer and DisplayER

Supplementary Figures

Checking the Clinical Information for Docetaxel

Reciprocal Cross in RNA-seq

Package splicer. R topics documented: August 19, Version Date 2014/04/29

Package diggitdata. April 11, 2019

TCGA. The Cancer Genome Atlas

Vega: Variational Segmentation for Copy Number Detection

Simple, rapid, and reliable RNA sequencing

Breast cancer. Risk factors you cannot change include: Treatment Plan Selection. Inferring Transcriptional Module from Breast Cancer Profile Data

Raymond Auerbach PhD Candidate, Yale University Gerstein and Snyder Labs August 30, 2012

Use Case 9: Coordinated Changes of Epigenomic Marks Across Tissue Types. Epigenome Informatics Workshop Bioinformatics Research Laboratory

Package inctools. January 3, 2018

Discovery of Novel Human Gene Regulatory Modules from Gene Co-expression and

Obstacles and challenges in the analysis of microrna sequencing data

Package AIMS. June 29, 2018

Computational aspects of ChIP-seq. John Marioni Research Group Leader European Bioinformatics Institute European Molecular Biology Laboratory

Identifying or Verifying the Number of Factors to Extract using Very Simple Structure.

LowMACA: Low frequency Mutation Analysis via Consensus Alignment

Metabolomic Data Analysis with MetaboAnalyst

Transcriptome Analysis

LowMACA: Low frequency Mutation Analysis via Consensus Alignment

Package TFEA.ChIP. R topics documented: January 28, 2018

ECDC HIV Modelling Tool User Manual version 1.0.0

DeconRNASeq: A Statistical Framework for Deconvolution of Heterogeneous Tissue Samples Based on mrna-seq data

Polymer Technology Systems, Inc. CardioChek PA Comparison Study

PSSV User Manual (V1.0)

Package msgbsr. January 17, 2019

Package BUScorrect. September 16, 2018

SubLasso:a feature selection and classification R package with a. fixed feature subset

Package cancer. July 10, 2018

ESCs were lysed with Trizol reagent (Life technologies) and RNA was extracted according to

ChIP-seq data analysis

Naïve Bayes classification in R

Analysis of Region-Specific Transcriptomic Changes in the Autistic Brain

splicer: An R package for classification of alternative splicing and prediction of coding potential from RNA-seq data

Transcription:

metaseq: Meta-analysis of RNA-seq count data Koki Tsuyuzaki 1, and Itoshi Nikaido 2. October 30, 2017 1 Department of Medical and Life Science, Tokyo University of Science. 2 Bioinformatics Research Unit, Advanced Center for Computing and Communication, RIKEN. Contents k.t.the-answer@hotmail.co.jp 1 Introduction 2 2 RSE: Read-Size Effect 2 3 Robustness against RSE 3 4 Getting started 4 5 Meta-analysis by non-noiseq method 7 6 Setup 9 1

1 Introduction This document provides the way to perform meta-analysis of RNA-seq data using metaseq package. Meta-analysis is a attempt to integrate multiple data in different studies and retrieve much reliable and reproducible result. In transcriptome study, the goal of analysis may be differentially expressed genes (DEGs). In our package, the probability of one-sided NOISeq [1] is applied in each study. This is because the numbers of reads are often different depending on its study and NOISeq is robust method against its difference (see the next section). By meta-analysis, genes which differentially expressed in many studies are detected as DEGs. 2 RSE: Read-Size Effect In many cases, the number of reads are depend on study. For example, here we prepared multiple RNA-Seq count data designed as Breast Cancer cell lines vs Normal cells measured in 4 different studies (this data is also accessible by data(breastcancer)). ID in this vignette Accession (SRA / ERA Accession) Experimental Design StudyA SRP008746 Breast Cancer (n=3) vs Normal (n=2) StudyB SRP006726 Breast Cancer (n=1) vs Normal (n=1) StudyC SRP005601 Breast Cancer (n=7) vs Normal (n=1) StudyD ERP000992 Breast Cancer (n=2) vs Normal (n=1) Figure 1: Difference of the number of reads 2

As shown in the figure 1, the number of reads in StudyA, B, C, and D are relatively different. Generally, statistical test is influenced by the number of reads; the more the number of reads is large, the more the statistical tests are tend to be significant (see the next section). Therefore, in meta-analysis of RNA-seq data, data may be suffered from this bias. Here we call this bias as RSE (Read Size Effect). 3 Robustness against RSE In the point of view of robustness against RSE, we evaluated five widely used method in RNA-seq; DESeq [2], edger [3], bayseq [4], and NOISeq [1]. Here we used only StudyA data. All counts in the matrix are repeatedly down-sampled in accordance with distributions of binomial (the probability equals 0.5). 1 (original), 1/2, 1/4, 1/8, 1/16, and 1/32-fold data are prepared as low read size situation. In each read size, four methods are conducted (figure 2.A, this data is also accessible by data(studya) and data(pvals)), then we focussed on how top500 genes of original data in order of significance will change its members, influenced by low read size (figure 2.B). Figure 2: A(left): RSE in each RNA-Seq method, B(right): Top 500 genes in order of significance Ideal method will returns same result regardless of read size, because same data was used. As shown in figure 2, NOISeq is not almost affected by the number of reads and robustlly detects same genes as DEGs. Therefore, we concluded that NOISeq is suitable method at least in the point of view of meta-analysis. Note that probability of NOISeq is not equal to p-value; it is the probability that a gene is differentially expressed [1]. Our package integrates its probability by Fisher s method [5] or Stouffer s method (inverse normal method) [6]. In regard to Stouffer s method, weighting by the number of replicates (sample size) is used. 3

4 Getting started At first, install and load the metaseq and snow. > library("metaseq") > library("snow") The RNA-seq expression data in breast cancer cell lines and normal cells is prepared. The data is measured from 4 different studies.the data is stored as a matrix (23368 rows 18 columns). > data(breastcancer) We need to prepare two vectors. First vector is for indicating the experimental condition (e.g., 1: Cancer, 2: Normal) and second one is for indicating the source of data (e.g., A: StudyA, B: StudyB, C: StudyC, D: StudyD). > flag1 <- c(1,1,1,0,0, 1,0, 1,1,1,1,1,1,1,0, 1,1,0) > flag2 <- c("a","a","a","a","a", "B","B", "C","C","C","C","C","C","C","C", "D","D","D") Then, we use meta.readdata to create R object for meta.oneside.noiseq. > cds <- meta.readdata(data = BreastCancer, factor = flag1, studies = flag2) Onesided-NOISeq is performed in each studies and each probabilities are summalized as a member of list object. > ## This is very time consuming step. > # cl <- makecluster(4, "SOCK") > # result <- meta.oneside.noiseq(cds, k = 0.5, norm = "tmm", replicates = "biological", > # factor = flag1, conditions = c(1, 0), studies = flag2, cl = cl) > # stopcluster(cl) > > ## Please load pre-calculated result (Result.Meta) > ## by data function instead of scripts above. > data(result.meta) > result <- Result.Meta Fisher s method and Stouffer s method can be applied to the result of meta.oneside.noiseq. > F <- Fisher.test(result) > S <- Stouffer.test(result) These outputs are summalized as list whose length is 3. First member is the probability which means a gene is upper-regulated genes, and Second member is lower-regulated genes. Weight in each study is also saved as its third member (weight is used only by Stouffer s method). 4

> head(f$upper) 1/2-SBSRNA4 A1BG A1BG-AS1 A1CF A2LD1 0.3842542 0.5316118 0.5325544 NA 0.1358559 A2M 0.2252807 > head(f$lower) 1/2-SBSRNA4 A1BG A1BG-AS1 A1CF A2LD1 0.8420357 0.6078896 0.4047202 NA 0.3661371 A2M 0.6197968 > F$Weight Study 1 Study 2 Study 3 Study 4 5 2 8 3 > head(s$upper) 1/2-SBSRNA4 A1BG A1BG-AS1 A1CF A2LD1 0.3709297 0.2663748 0.2711745 NA 0.2957139 A2M 0.2996707 > head(s$lower) 1/2-SBSRNA4 A1BG A1BG-AS1 A1CF A2LD1 0.6290703 0.7336252 0.7288255 NA 0.7042861 A2M 0.7003293 > S$Weight Study 1 Study 2 Study 3 Study 4 5 2 8 3 5

Generally, by meta-analysis, detection power will improved and much genes are detected as DEGs. Method Study Number of DEGs NOISeq A 86 NOISeq B 563 NOISeq C 99 NOISeq D 210 NOISeq A, B, C, D (not meta-analysis) 21 metaseq (Fisher, Upper) A, B, C, D 407 metaseq (Fisher, Lower) A, B, C, D 1483 metaseq (Stouffer, Upper) A, B, C, D 116 metaseq (Stouffer, Lower) A, B, C, D 2271 6

5 Meta-analysis by non-noiseq method For some reason, we may want to use non-noiseq method like DESeq, edger, or even cuffdiff [7]. We prepared other.oneside.noiseq as optional function for such methods. Returned object can be directlly applied to Fisher.test and Stouffer.test. We have to prepare at least 2 matrix filled with p-value or probability. First matrix is for upper-regulated genes between control group and treatment group. On the other hand, second matrix is for lower-regulated genes. As optional parameter, weight in each study is also avilable. Weight is need for Stouffer s method but not necessary for Fisher s method. > ## Assume this matrix as one-sided p-values > ## generated by non-noiseq method (e.g., cuffdiff) > upper <- matrix(runif(300), ncol=3, nrow=100) > lower <- 1 - upper > rownames(upper) <- paste0("gene", 1:100) > rownames(lower) <- paste0("gene", 1:100) > weight <- c(3,6,8) Next, other.oneside.pvalues will return a list object for Fisher.test or Stouffer.test by upper, lower, and weight. > ## other.oneside.pvalues function return a matrix > ## which can input Fisher.test or Stouffer.test > result <- other.oneside.pvalues(upper, lower, weight) result above can be applied to Fisher.test and Stouffer.test. > F <- Fisher.test(result) > str(f) List of 3 $ Upper : Named num [1:100] 0.6131 0.8067 0.0913 0.5109 0.7266.....- attr(*, "names")= chr [1:100] "Gene1" "Gene2" "Gene3" "Gene4"... $ Lower : Named num [1:100] 0.422 0.212 0.89 0.579 0.034.....- attr(*, "names")= chr [1:100] "Gene1" "Gene2" "Gene3" "Gene4"... $ Weight: Named num [1:3] 3 6 8..- attr(*, "names")= chr [1:3] "Exp 1" "Exp 2" "Exp 3" > head(f$upper) Gene1 Gene2 Gene3 Gene4 Gene5 Gene6 0.61311462 0.80668901 0.09133673 0.51093783 0.72659405 0.81344660 > head(f$lower) Gene1 Gene2 Gene3 Gene4 Gene5 Gene6 0.42193740 0.21190590 0.89045904 0.57851586 0.03401444 0.27415732 7

> F$Weight Exp 1 Exp 2 Exp 3 3 6 8 > S <- Stouffer.test(result) > str(s) List of 3 $ Upper : Named num [1:100] 0.4245 0.728 0.0726 0.5421 0.9765.....- attr(*, "names")= chr [1:100] "Gene1" "Gene2" "Gene3" "Gene4"... $ Lower : Named num [1:100] 0.5755 0.272 0.9274 0.4579 0.0235.....- attr(*, "names")= chr [1:100] "Gene1" "Gene2" "Gene3" "Gene4"... $ Weight: Named num [1:3] 3 6 8..- attr(*, "names")= chr [1:3] "Exp 1" "Exp 2" "Exp 3" > head(s$upper) Gene1 Gene2 Gene3 Gene4 Gene5 Gene6 0.42447567 0.72803301 0.07256307 0.54207713 0.97654962 0.64960338 > head(s$lower) Gene1 Gene2 Gene3 Gene4 Gene5 Gene6 0.57552433 0.27196699 0.92743693 0.45792287 0.02345038 0.35039662 > S$Weight Exp 1 Exp 2 Exp 3 3 6 8 8

6 Setup This vignette was built on: > sessioninfo() R Under development (unstable) (2017-10-20 r73567) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.3 LTS Matrix products: default BLAS: /home/biocbuild/bbs-3.7-bioc/r/lib/librblas.so LAPACK: /home/biocbuild/bbs-3.7-bioc/r/lib/librlapack.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=C [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] splines parallel stats graphics grdevices utils [7] datasets methods base other attached packages: [1] metaseq_1.19.0 Rcpp_0.12.13 snow_0.4-2 [4] NOISeq_2.23.0 Matrix_1.2-11 Biobase_2.39.0 [7] BiocGenerics_0.25.0 loaded via a namespace (and not attached): [1] compiler_3.5.0 tools_3.5.0 grid_3.5.0 lattice_0.20-35 9

References [1] Tarazona, S. and Garcia-Alcalde, F. and Dopazo, J. and Ferrer, A. and Conesa, A. Genome Research Differential expression in RNA-seq: A matter of depth, 21(12): 2213-2223, 2011. [2] Simon Anders and Wolfgang Huber Genome Biology Differential expression analysis for sequence count data., 11: R106, 2010. [3] Robinson, M. D. and McCarthy, D. J. and Smyth, G. K. Bioinformatics edger: a Bioconductor package for differential expression analysis of digital gene expression data., 26: 139-140, 2010 [4] Thomas J. Hardcastle R package version 1.14.1. bayseq: Empirical Bayesian analysis of patterns of differential expression in count data., 2012. [5] Fisher, R. A. Statistical Methods for Research Workers, 4th edition, Oliver and Boyd, London, 1932. [6] Stouffer, S. A. and Suchman, E. A. and DeVinney, L. C. and Star, S. A. and Williams, R. M. Jr. The American Soldier, Vol. 1 - Adjustment during Army Life. Princeton, Princeton University Press, 1949 [7] Trapnell, C. and Williams, B. A. and Pertea, G. and Mortazavi, A. and Kwan, G. and Baren, M. J. and Salzberg, S. L. and Wold, B. J. and Pachter, L. Nature biotechnology Transcript assembly and quantification by RNA-Seq reveals unannotated transcripts and isoform switching during cell differentiaiton, 28: 511-515, 2010. 10