Compiled date: 2021-12-02

Last edited: 2019-02-06

License: MIT + file LICENSE

1 Getting started

ideal is an R package distributed as part of the Bioconductor project. To install the package, start R and enter:

if (!requireNamespace("BiocManager", quietly = TRUE)) {
  install.packages("BiocManager")
}
BiocManager::install("ideal")

The GitHub repository for ideal is https://github.com/federicomarini/ideal. This is the place to file an issue, report a bug, or provide a pull request.

Once ideal is installed, it can be loaded by the following command.

library("ideal")

2 Introduction

ideal is a Bioconductor package containing a Shiny application for analyzing RNA-Seq data in the context of differential expression. This enables an interactive and at the same time analysis, keeping the functionality accessible, and yet providing a comprehensive selection of graphs and tables to mine the dataset at hand.

ideal is an R package which fully leverages the infrastructure of the Bioconductor project in order to deliver an interactive yet reproducible analysis for the detection of differentially expressed genes in RNA-Seq datasets. Graphs, tables, and interactive HTML reports can be readily exported and shared across collaborators. The dynamic user interface displays a broad level of content and information, subdivided by thematic tasks. All in all, it aims to enforce a proper analysis, by reaching out both life scientists and experienced bioinformaticians, and also fosters the communication between the two sides, offering robust statistical methods and high standard of accessible documentation.

It is structured in a similar way to the pcaExplorer, also designed as an interactive companion tool for RNA-seq analysis focused rather on the exploratory data analysis e.g. using principal components analysis as a main tool.

The interactive/reactive design of the app, with a dynamically generated user interface makes it easy and immediate to apply the gold standard methods (in the current implementation, based on DESeq2) in a way that is information-rich and accessible also to the bench biologist, while also providing additional insight also for the experienced data analyst. Reproducibility is supported via state saving and automated report generation.

2.1 Citation info

If you use ideal for your analysis, please cite it as here below:

citation("ideal")
## 
## To cite the package 'ideal' in publications use:
## 
##   Federico Marini, Jan Linke, Harald Binder (2020). ideal: an
##   R/Bioconductor package for Interactive Differential Expression
##   Analysis, BMC Bioinformatics - URL:
##   http://bioconductor.org/packages/ideal/ - doi:
##   10.1186/s12859-020-03819-5
## 
## A BibTeX entry for LaTeX users is
## 
##   @Article{,
##     title = {ideal: an R/Bioconductor package for Interactive Differential Expression Analysis},
##     journal = {BMC Bioinformatics},
##     author = {Federico Marini and Jan Linke and Harald Binder},
##     year = {2020},
##     doi = {10.1186/s12859-020-03819-5},
##     url = {http://bioconductor.org/packages/ideal/},
##   }

3 Using the application

There are different ways to use ideal for interactive differential expression analysis.

3.1 Launching ideal locally

First load the library:

library("ideal")

and then launch the app with the ideal function. This takes the following essential parameters as input:

  • dds_obj - a DESeqDataSet object. If not provided, then a countmatrix and a expdesign need to be provided. If none of the above is provided, it is possible to upload the data during the execution of the Shiny App
  • res_obj - a DESeqResults object. If not provided, it can be computed during the execution of the application
  • annotation_obj - a data.frame object, with row.names as gene identifiers (e.g. ENSEMBL ids) and a column, gene_name, containing e.g. HGNC-based gene symbols. If not provided, it can be constructed during the execution via the org.eg.XX.db packages
  • countmatrix - a count matrix, with genes as rows and samples as columns. If not provided, it is possible to upload the data during the execution of the Shiny App
  • expdesign -a data.frame containing the info on the experimental covariates of each sample. If not provided, it is possible to upload the data during the execution of the Shiny App

Different modalities are supported to launch the application:

  • ideal(dds_obj = dds, res_obj = res, annotation_obj = anno), where the objects are precomputed in the current session and provided as parameters
  • ideal(dds_obj = dds), as in the command above, but where the result object is assembled at runtime
  • ideal(countmatrix = countmatrix, expdesign = expdesign), where instead of passing the defined DESeqDataSet object, its components are given, namely the count matrix (e.g. generated after a run of featureCounts or HTSeq-count) and a data frame with the experimental covariates. The design formula can be constructed interactively at runtime
  • ideal(), where the count matrix and experimental design can simply be uploaded at runtime, where all the derived objects can be extracted and computed live. These files have to be formatted as tabular text files, and a function in the package tries to guess the separator, based on heuristics of occurrencies per line of commonly used characters

You can obtain more information on the formats that are expected and required to work with ideal by pressing the small round button in Step 1 of the Data Setup panel - these are common to the formats used by pcaExplorer. For the sake of completeness, you can see an overview reported in the image below.

The value to specify for the experimental design is best selected live in Step 2 of the Data Setup panel (see more in Section 5.2) - or if passing directly the dds object in the call to ideal, is already contained in the dds itself.

3.2 Accessing the public instance of ideal

To use ideal without installing any additional software, you can access the public instance of the Shiny Server made available at the Institute of Medical Biostatistics, Epidemiology and Informatics (IMBEI) in Mainz.

This resource is accessible at this address:

http://shiny.imbei.uni-mainz.de:3838/ideal

3.3 Deploying to a Shiny Server

A deployment-oriented version of the package is available at https://github.com/federicomarini/ideal_serveredition. This repository contains also detailed instruction to setup the running instance of a Shiny Server, where ideal can be run without further installation for the end-users.

Please note that you still need ideal to be installed there once during the setup phase - for this operation, you might require root administrator permissions.

4 Getting to know the user interface and the functionality

The user interface is dynamically displayed according to the provided and computed objects, with tabs that are actively usable only once the required input is effectively available.

Moreover, for some relevant UI widgets, the user can receive additional information by hovering over with the mouse, with the functionality powered by the shinyBS package.

For the user which is either new with the app UI/functionality, or not extensively familiar with the topic of differential expression, it is possible to obtain a small guided tour of the App by clicking on the respective help buttons, marked in the app like this - please note that this button is clickable but does not start any tour.

These trigger the start of a step-by-step guide and feature introduction, powered by the rintrojs package.

4.1 The controls sidebar

Some of the input controls which affect different tabs are located in the sidebar, while others are as well in the individual tabs of the app. By changing one or more of the input parameters, the user can get a fine control on what is computed and displayed.

4.1.1 App settings

  • Group/color by - Select the group of samples to stratify the analysis for plotting. Can also assume multiple values.
  • Select the gene(s) of interest - ids - Select a subset of genes for deeper analysis. If an annotation object is provided, the user can handily select the genes e.g. based on their HGNC symbol
  • False Discovery Rate - Set as default to 0.05, it is the FDR value for the Benjamini-Hochberg procedure for adjusting p-values in the multiple testing comparison scenario

4.1.2 Plot export settings

Width and Height for the figures to export are input here in cm.

4.1.3 Quick viewer

This displays a list of the underlying objects with which basically all of the analysis can be performed. A green tick icon appears close to each when the respective component is either provided or calculated. For obtaining the best analysis experience in ideal, it is recommended to provide all of them.

4.1.4 First steps help

Clicking on this button activated the intro.js based tour for getting to know the components and the structure of the app. Dedicated step-by-step procedures are also available in each individual tab.

4.2 The task menu

The task menu, accessible by clicking on the cog icon in the upper right part of the application, provides two functionalities:

  • Exit ideal & save will close the application and store the content of the input and values reactive objects in a list of two elements in the ideal_env environment, respectively called ideal_inputs_YYYYMMDD_HHMMSS and ideal_values_YYYYMMDD_HHMMSS
  • Save State as .RData will similarly store LiveInputs and r_data in a binary file named idealState_YYYYMMDD_HHMMSS.Rdata, without closing the application

5 The main app panels

The ideal app is a one-paged dashboard, structured in different panels, where each of them is focused on a different aspect of the data exploration.

On top of the panels, three valueBox objects serve as guiding elements for having an overview of the data at hand: how many genes and samples are in the data, how many entries are in the annotation object, and how many genes were found to be differentially expressed in the results. Whenever each of the underlying objects is available, the background color turns from red to green.

For the main analysis, the available panels are described in the following subsections.

5.1 Welcome!

The landing page for the app is also where you might likely be reading this text (otherwise in the package vignette).

5.2 Data Setup

The Data Setup panel is where you can upload or inspect the required inputs for running the app. This builds on the primary idea used by pcaExplorer and extends it with the following aspects:

  • the panel structure appears dynamically in three consecutive mandatory steps, marked with color from red to yellow to green, with optional steps in light blue.
  • the optional step of retrieving the annotation on the fly relieves the user from the task of composing the data.frame in advance, and is based on the widely adopted org.XX.eg.db Bioconductor packages.
  • when the objects are already passed as parameters, or computed, a brief overview/summary for them is displayed
  • to tighten the concert operations between similar tools with different scope (as pcaExplorer and ideal are), the information flow can move from the data exploration to decisions taken at the moment of testing

A diagnostic mean-dispersion plot is also provided in a collapsible element at the bottom of the panel, shown when the DESeqDataSet is generated and the DESeq command from the DESeq2 package has been applied.

5.3 Counts Overview

As in pcaExplorer, interactive tables for the raw, normalized, or variance stabilized transformed (preferred over regularized logarithm transformation, because of its speed during the dispersion estimation - especially with larger number of samples) counts are shown in this tab. The user can also generate a sample-to-sample correlation scatter plot with the selected data.

Additionally, ideal has an option to include a filter step at the gene level by removing genes with low absolute or averages low values. After this, it might be possible to have to re-run the analysis in step 3 from the Data Setup panel.

5.4 Extract Results

This tab is an interface for generating the summary tables after testing for DE. It is usually based on the Wald test, as implemented in DESeq2, but when the factor of interest is assuming more than two levels, the user can also perform an ANOVA-like test across the groups with the likelihood ratio test. Options for enabling/disabling automated independent filtering, adding the additional column of unshrunken log2 fold change values (instead of the moderated estimates used by default), as well as using the Independent Hypothesis Weighting (IHW) framework, are provided.

The False Discovery Rate (FDR) can be set from the sidebar panel, and a couple of diagnostic plots, such as the histogram of raw p-values and the distribution of log2fc, are shown below the interactive enhanced version of the table - with clickable elements to link to ENSEMBL database and NCBI website.

5.5 Summary Plots

In this tab an interactive MA plot for the contrast selected in the Extract Results tab is displayed. Clicking on a single gene in the zoomed plot (enabled by brushing in the main plot), it is possible to obtain a boxplot for its expression values, flanked by an overview of information accessed live from the Entrez database. Alternatively, a volcano plot of -log10(p-value) versus log fold change can provide a slightly different perspective. The subset of selected genes are also here presented in static and interactive heatmaps, with the underlying data accessible from the collapsible box element.

5.6 Gene Finder

The functionality in the Gene Finder builds upon the one provided by pcaExplorer, and allows to query up to four genes in the same view, which can here be selected from a dropdown input list which supports autocompletion.

A combined summary table (with both normalized counts and results statistics) is located below an MA plot where the selected genes are marked and annotated on the plot. To avoid repeating this manually, the user can also quickly upload a list of genes as text file (one gene identifier per line), such as members of gene families (e.g. all cytokines, all immunoglobulines, …) or defined by common function (e.g. all housekeeping genes, or others based on any annotation).

5.7 Functional Analysis

The Functional Analysis tab takes the user from the simple lists of DE genes to insight on the affected biological pathways, with three approaches based on the Gene Ontology (GO) databases. This panel of ideal has a slim interface to the following methods for performing functional analysis:

  • limma::goana for the quick yet standard implementation
  • topGO, particularly valuable for pruning terms which are topologically less meaningful than their specific nodes
  • goseq, which accounts for the specific length bias intrinsic in RNA-Seq assays (longer genes have higher chances of being called DE).

ideal allows the user to work simultaneously with more gene lists, two of which can be uploaded in a custom way (e.g. list of gene families, or extracted from other existing publications).

The interaction among these lists can be visually represented in Venn diagrams, as well as with the appealing alternative from the UpSetR package, where all combination of sets are explicitly shown.

Each of the methods for GO enrichment delivers its own interactive DT-based table, which can then be explored interactively with the display of a heatmap for all the (DE) genes annotated to a particular term, picking the normalized transformed values for comparing robustly the expression values. This is simply triggered by clicking any of the rows for the results tables. Another useful feature is provided by the clickable link to the AmiGO database on each of the GO term identifiers.

5.8 Signatures Explorer

The Signatures Explorer tab allows the user to check the behavior of a number of provided gene signatures in the data at hand, displaying this as a heatmap.

This panel is composed by different well panels:

  • in the Setup Options, you can select and upload a gene signature file, in gmt format (e.g. like the ones provided in the MSigDB database, or from WikiPathways), and quickly compute the variance stabilized transformed version of your data, which is more amenable for visualization than raw or normalized counts

  • in the Conversion options tab, you can create an annotation vector, used to bring the ids from your data and the ids the gmt used for encoding the signature elements. This works based on the org.XX.eg.db packages.

  • the lower well panels control the appearance of the heatmap, also with an option to display all genes annotated in that pathway, or only the ones detected as differentially expressed (for this you need to provide or compute the result object)

5.9 Report Editor

The Report Editor tab works in the same way of pcaExplorer, with the scope of providing an interface to full computational reproducibility of the analyses.

General Markdown options and Editor options are available, and the text editor, based on the shinyAce package, contains a comprehensive template report, that can be edited to the best convenience of the user.

The code contained in the template report fetches the latest state of the reactive values in the ongoing session, and its output is a comprehensive HTML file that can be expanded, edited, previewed in the tab itself, downloaded, and shared with a few mouse clicks.

As for pcaExplorer, the functionality to display the report preview is based on knit2html, and some elements such as DataTable objects might not render correctly. To render them correctly, please install the PhantomJS executable before launching the app. This can be done by using the webshot package and calling webshot::install_phantomjs() - HTML widgets will be rendered automatically as screenshots. Keep in mind that the fully rendered report (the one you can obtain with the “Generate & Save” button) is not affected by this, since it uses rmarkdown::render().

5.10 About

The About tab contains the output of sessionInfo, plus general information on ideal, including the link to the Github development version. If requested, the modular structure of the app can be easily expanded, and many new operations on the same set of input data and derived results can be embedded in the same framework.

6 Running ideal on an exemplary data set

We can run ideal for demonstration purpose on published datasets that are available as SummarizedExperiment in an experiment Bioconductor packages.

We will use the airway dataset, which can be installed with this command:

if (!requireNamespace("BiocManager", quietly = TRUE)) {
  install.packages("BiocManager")
}
BiocManager::install("airway")

This package provides a RangedSummarizedExperiment object of read counts in genes for an RNA-Seq experiment on four human airway smooth muscle cell lines treated with dexamethasone. More details such as gene models and count quantifications can be found in the airway package vignette.

To run ideal on this dataset, the following commands are required. First, prepare the objects to be passed as parameters of ideal.

library(airway)
library(DESeq2)

data(airway)

dds_airway <- DESeqDataSet(airway, design = ~ cell + dex)
dds_airway
## class: DESeqDataSet 
## dim: 64102 8 
## metadata(2): '' version
## assays(1): counts
## rownames(64102): ENSG00000000003 ENSG00000000005 ... LRG_98 LRG_99
## rowData names(0):
## colnames(8): SRR1039508 SRR1039509 ... SRR1039520 SRR1039521
## colData names(9): SampleName cell ... Sample BioSample
# run deseq on it
dds_airway <- DESeq(dds_airway)
# extract the results
res_airway <- results(dds_airway, contrast = c("dex", "trt", "untrt"), alpha = 0.05)

Then launch the app itself.

ideal(dds_obj = dds_airway)
# or also providing the results object
ideal(dds_obj = dds_airway, res_obj = res_airway)

The annotation for this dataset can be built manually by exploiting the org.Hs.eg.db package.

library(org.Hs.eg.db)
genenames_airway <- mapIds(org.Hs.eg.db, keys = rownames(dds_airway), column = "SYMBOL", keytype = "ENSEMBL")
annotation_airway <- data.frame(
  gene_id = rownames(dds_airway),
  gene_name = genenames_airway,
  row.names = rownames(dds_airway),
  stringsAsFactors = FALSE
)
head(annotation_airway)
##                         gene_id gene_name
## ENSG00000000003 ENSG00000000003    TSPAN6
## ENSG00000000005 ENSG00000000005      TNMD
## ENSG00000000419 ENSG00000000419      DPM1
## ENSG00000000457 ENSG00000000457     SCYL3
## ENSG00000000460 ENSG00000000460  C1orf112
## ENSG00000000938 ENSG00000000938       FGR

or alternatively, can be handily created at runtime in the optional step.

Then again, the app can be launched with:

ideal(
  dds_obj = dds_airway,
  annotation_obj = annotation_airway
)

If desired, alternatives can be used. See the well written annotation workflow available at the Bioconductor site (https://bioconductor.org/help/workflows/annotation/annotation/).

6.1 Coming from edgeR/limma-voom

Let’s suppose you performed part of your analysis with edgeR or limma/voom and you want to continue inspecting your data interactively using ideal. You can use the functionality provided by the DEFormats package to convert the object with:

library(DEFormats)
library(edgeR)
## Loading required package: limma
## 
## Attaching package: 'limma'
## The following object is masked from 'package:DESeq2':
## 
##     plotMA
## The following object is masked from 'package:BiocGenerics':
## 
##     plotMA
## 
## Attaching package: 'edgeR'
## The following object is masked from 'package:DEFormats':
## 
##     DGEList
library(limma)
dge_airway <- as.DGEList(dds_airway) # this is your initial object
# your factors for the design:
dex <- colData(dds_airway)$dex
cell <- colData(dds_airway)$cell

redo_dds_airway <- as.DESeqDataSet(dge_airway)
# force the design to ~cell + dex
design(redo_dds_airway) <- ~ cell + group # TODO: this is due to the not 100% re-conversion via DEFormats

### with edgeR
y <- calcNormFactors(dge_airway)
design <- model.matrix(~ cell + dex)
y <- estimateDisp(y, design)
# If you performed quasi-likelihood F-tests
fit <- glmQLFit(y, design)
qlf <- glmQLFTest(fit) # contrast for dexamethasone treatment
topTags(qlf)
## Coefficient:  dexuntrt 
##                                                                                                  seqnames
## ENSG00000109906 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
## ENSG00000152583             4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
## ENSG00000096060                                                   6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6
## ENSG00000101347          20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20
## ENSG00000211445                                             5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
## ENSG00000163884                                                                                 3,3,3,3,3
## ENSG00000189221                                 X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X
## ENSG00000157514                 X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X
## ENSG00000162692                                                           1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
## ENSG00000112936                         5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
##                                                                                                                                                                                                                                                                                                                                                                                             start
## ENSG00000109906                                                                       113930315,113930447,113930459,113930979,113931229,113932093,113933933,113933933,113933933,113933933,113935134,113992540,114027059,114027059,114051488,114057674,114057674,114057674,114107929,114112889,114112889,114117512,114117920,114117920,114117920,114117920,114121048,114121048,114121048,114121048
## ENSG00000152583                    88394487,88394500,88394570,88400582,88401524,88403576,88411425,88411912,88412770,88414734,88414734,88415521,88415521,88415528,88415569,88415592,88415685,88416133,88416133,88416133,88416165,88418283,88420673,88420673,88425974,88449278,88449707,88449707,88450197,88450197,88450197,88450197,88450197,88450197,88450197,88450197,88451697,88452130,88452130
## ENSG00000096060                                                                                                                                                                                               35541362,35541367,35543176,35544771,35547813,35548334,35554811,35558907,35565025,35565025,35586873,35587909,35604791,35610497,35656509,35656581,35656581,35656581,35688105,35696285
## ENSG00000101347                                                                                                                                35518632,35525971,35526225,35526843,35532560,35532560,35533767,35533767,35539621,35540751,35540864,35545125,35545352,35547767,35555585,35555585,35559163,35559163,35563432,35563432,35563744,35569442,35569442,35575141,35575141,35579839,35579839
## ENSG00000211445                                                                                                                                             150400124,150400153,150400165,150400167,150400389,150400389,150404901,150404901,150404905,150406006,150406272,150406461,150406461,150406461,150406527,150406993,150406993,150406993,150406993,150407383,150407470,150407470,150407470
## ENSG00000163884                                                                                                                                                                                                                                                                                                                                 126061478,126070684,126071518,126072855,126076080
## ENSG00000189221                                                                                                              43515467,43515548,43515550,43517110,43542761,43542761,43552538,43552538,43571119,43571119,43571119,43571952,43571952,43587420,43587420,43590488,43590488,43590941,43591946,43595474,43599928,43601197,43602951,43603041,43603356,43603356,43603614,43603614,43603614
## ENSG00000157514 106956451,106956454,106957230,106957600,106957717,106957907,106959003,106959128,106959129,106959129,106959129,106959133,106959142,106959153,106959545,106959920,106959920,106965089,107018330,107018330,107018330,107018330,107018348,107018397,107018476,107019010,107019010,107019233,107019376,107019829,107020200,107020200,107020250,107020250,107020250,107020502,107020502
## ENSG00000162692                                                                                                                                                                                                                   101185298,101185311,101185316,101185320,101186032,101186032,101188576,101190180,101194663,101196754,101197974,101200058,101200731,101203679,101203679,101203679
## ENSG00000112936                                                                          40909354,40928682,40931166,40934425,40934427,40936440,40936440,40937340,40937654,40937654,40945300,40945300,40947704,40950006,40955489,40958135,40959551,40962187,40964581,40964843,40972505,40972505,40972505,40972623,40976765,40976852,40976852,40976852,40979827,40979827,40980089,40981494,40981494
##                                                                                                                                                                                                                                                                                                                                                                                               end
## ENSG00000109906                                                                       113930604,113930604,113930604,113931016,113931306,113932283,113934368,113934466,113935290,113935290,113935290,113992636,114027156,114027156,114051664,114057760,114057760,114060486,114108062,114113059,114113059,114118087,114118018,114118066,114118087,114118087,114121198,114121279,114121374,114121398
## ENSG00000152583                    88394955,88394955,88394955,88400730,88401672,88403712,88411545,88412030,88412842,88415750,88415750,88415750,88415750,88415750,88415750,88415750,88415750,88416279,88416279,88416295,88416279,88418391,88420737,88420737,88426075,88449385,88449766,88449771,88450244,88450253,88450393,88450524,88450556,88450609,88450655,88450656,88451783,88452201,88452213
## ENSG00000096060                                                                                                                                                                                               35543719,35543719,35543719,35545010,35547998,35554894,35554894,35558997,35565181,35565181,35586987,35588051,35604935,35610620,35656692,35656692,35656714,35656719,35688325,35696360
## ENSG00000101347                                                                                                                                35521469,35526362,35526362,35526947,35532652,35532652,35533797,35533906,35539736,35540955,35540955,35545233,35545452,35547922,35555655,35555655,35559278,35559278,35563592,35563592,35563806,35569514,35569514,35575207,35575207,35580111,35580246
## ENSG00000211445                                                                                                                                             150400302,150400302,150400302,150400302,150400415,150400814,150405054,150405054,150405054,150406578,150406431,150406578,150406578,150406578,150406578,150407022,150407051,150407092,150407092,150407546,150407727,150408515,150408554
## ENSG00000163884                                                                                                                                                                                                                                                                                                                                 126062738,126071790,126071790,126073128,126076285
## ENSG00000189221                                                                                                              43515662,43515662,43515662,43517217,43542855,43542855,43552675,43552675,43571223,43571223,43571223,43572043,43572043,43587561,43587561,43590629,43590637,43591100,43592042,43595527,43599985,43601294,43603152,43603152,43603418,43603418,43603905,43604409,43606068
## ENSG00000157514 106957979,106957979,106957979,106957979,106957979,106957979,106959180,106959180,106959180,106959180,106959631,106959180,106959180,106959180,106959775,106960292,106960365,106965502,107018524,107018741,107018755,107019017,107018755,107018755,107018755,107019215,107019218,107019345,107019488,107019944,107020285,107020297,107020308,107020414,107020572,107020559,107020567
## ENSG00000162692                                                                                                                                                                                                                   101185480,101185480,101185480,101185480,101186121,101186307,101188896,101190446,101194938,101197074,101198240,101200324,101204595,101204169,101204594,101204601
## ENSG00000112936                                                                          40909718,40928737,40931241,40934568,40934568,40936587,40936587,40937589,40937792,40937792,40945462,40945470,40947947,40950116,40955655,40958363,40959722,40962274,40964975,40964975,40972673,40972696,40972696,40972696,40976942,40976942,40976942,40976943,40980011,40980011,40980452,40981868,40983041
##                                                                                                                                                              width
## ENSG00000109906                                 290,158,146,38,78,191,436,534,1358,1358,157,97,98,98,177,87,87,2813,134,171,171,576,99,147,168,168,151,232,327,351
## ENSG00000152583 469,456,386,149,149,137,121,119,73,1017,1017,230,230,223,182,159,66,147,147,163,115,109,65,65,102,108,60,65,48,57,197,328,360,413,459,460,87,72,84
## ENSG00000096060                                                                    2358,2353,544,240,186,6561,84,91,157,157,115,143,145,124,184,112,134,139,221,76
## ENSG00000101347                                                  2838,392,138,105,93,93,31,140,116,205,92,109,101,156,71,71,116,116,161,161,63,73,73,67,67,273,408
## ENSG00000211445                                                          179,150,138,136,27,426,154,154,150,573,160,118,118,118,52,30,59,100,100,164,258,1046,1085
## ENSG00000163884                                                                                                                              1261,1107,273,274,206
## ENSG00000189221                                         196,115,113,108,95,95,138,138,105,105,105,92,92,142,142,142,150,160,97,54,58,98,202,112,63,63,292,796,2455
## ENSG00000157514          1529,1526,750,380,263,73,178,53,52,52,503,48,39,28,231,373,446,414,195,412,426,688,408,359,280,206,209,113,113,116,86,98,59,165,323,58,66
## ENSG00000162692                                                                                    183,170,165,161,90,276,321,267,276,321,267,267,3865,491,916,923
## ENSG00000112936                      365,56,76,144,142,148,148,250,139,139,163,171,244,111,167,229,172,88,395,133,169,192,192,74,178,91,91,92,185,185,364,375,1548
##                                                                                        strand
## ENSG00000109906                   +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000152583 -,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-
## ENSG00000096060                                       -,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-
## ENSG00000101347                         -,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-
## ENSG00000211445                                 +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000163884                                                                     -,-,-,-,-
## ENSG00000189221                     +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000157514     -,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-
## ENSG00000162692                                               +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000112936             +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
##                                                                                                                                                                                                                                                                                          exon_id
## ENSG00000109906                                                                360958,360959,360960,360961,360962,360963,360964,360965,360967,360966,360968,360969,360971,360970,360972,360974,360973,360975,360976,360977,360978,360979,360980,360981,360982,360983,360984,360985,360986,360987
## ENSG00000152583 172689,172690,172691,172692,172693,172694,172695,172696,172697,172699,172698,172700,172701,172702,172703,172704,172705,172707,172706,172708,172709,172710,172711,172712,172713,172714,172715,172716,172717,172718,172719,172720,172721,172722,172723,172724,172725,172726,172727
## ENSG00000096060                                                                                                                                      228563,228564,228565,228566,228567,228568,228569,228570,228571,228572,228573,228574,228575,228576,228578,228579,228580,228581,228583,228584
## ENSG00000101347                                                                                     626560,626561,626562,626563,626565,626564,626566,626567,626568,626569,626570,626571,626572,626573,626575,626574,626576,626577,626578,626579,626580,626581,626582,626584,626583,626585,626586
## ENSG00000211445                                                                                                                 191301,191302,191303,191304,191305,191306,191308,191307,191309,191310,191311,191314,191312,191313,191315,191316,191317,191319,191318,191320,191321,191322,191323
## ENSG00000163884                                                                                                                                                                                                                                               145255,145256,145257,145258,145259
## ENSG00000189221                                                                       653982,653983,653984,653985,653986,653987,653989,653988,653990,653991,653992,653993,653994,653995,653996,653997,653998,653999,654000,654001,654002,654003,654004,654005,654006,654007,654008,654009,654010
## ENSG00000157514               667855,667856,667857,667858,667859,667860,667861,667862,667864,667863,667865,667866,667867,667868,667869,667870,667871,667872,667873,667874,667875,667876,667877,667878,667879,667880,667881,667882,667883,667884,667885,667886,667887,667888,667889,667890,667891
## ENSG00000162692                                                                                                                                                                                  14792,14793,14794,14795,14796,14797,14798,14799,14800,14801,14802,14803,14804,14805,14806,14807
## ENSG00000112936                                           181403,181404,181405,181406,181407,181409,181408,181410,181412,181411,181413,181414,181415,181416,181417,181418,181419,181420,181421,181422,181423,181425,181424,181426,181427,181428,181429,181430,181431,181432,181433,181434,181435
##                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       exon_name
## ENSG00000109906                                                                                                                                                 ENSE00001344383,ENSE00002217296,ENSE00002239785,ENSE00002278969,ENSE00001777728,ENSE00002277816,ENSE00002264739,ENSE00002267450,ENSE00003532715,ENSE00003522546,ENSE00002223922,ENSE00002239280,ENSE00003606532,ENSE00003503866,ENSE00002304588,ENSE00003667676,ENSE00003652618,ENSE00002237247,ENSE00002308595,ENSE00003574983,ENSE00003648066,ENSE00002216844,ENSE00002254046,ENSE00002202712,ENSE00003533854,ENSE00003675344,ENSE00002251269,ENSE00002289800,ENSE00002238115,ENSE00001513888
## ENSG00000152583 ENSE00001914146,ENSE00001135423,ENSE00002056886,ENSE00001175672,ENSE00001175678,ENSE00001175684,ENSE00001175691,ENSE00001006057,ENSE00001006053,ENSE00003651115,ENSE00003561541,ENSE00003487906,ENSE00003598972,ENSE00001786211,ENSE00002316459,ENSE00002028083,ENSE00001789990,ENSE00003602905,ENSE00003459209,ENSE00002234840,ENSE00001678790,ENSE00002045268,ENSE00003592507,ENSE00003613792,ENSE00001605148,ENSE00002310772,ENSE00002225747,ENSE00002211631,ENSE00002063937,ENSE00002061881,ENSE00002270604,ENSE00002252787,ENSE00002269371,ENSE00001175712,ENSE00001603831,ENSE00001942085,ENSE00002020252,ENSE00002083738,ENSE00002034086
## ENSG00000096060                                                                                                                                                                                                                                                                                                                 ENSE00001193215,ENSE00001354861,ENSE00002324002,ENSE00000747301,ENSE00000747302,ENSE00001461801,ENSE00000747303,ENSE00000747304,ENSE00003659116,ENSE00003674427,ENSE00000747342,ENSE00001391213,ENSE00000747346,ENSE00001370159,ENSE00002312621,ENSE00002286243,ENSE00001354888,ENSE00001519071,ENSE00001424352,ENSE00002227265
## ENSG00000101347                                                                                                                                                                                                 ENSE00000800455,ENSE00001930417,ENSE00000661812,ENSE00000661813,ENSE00003692177,ENSE00003551249,ENSE00001842453,ENSE00000661815,ENSE00001622813,ENSE00001604475,ENSE00001711142,ENSE00001793017,ENSE00001667406,ENSE00001752622,ENSE00003598833,ENSE00003555165,ENSE00003535434,ENSE00003608826,ENSE00003546823,ENSE00003559540,ENSE00002218059,ENSE00003462531,ENSE00003673643,ENSE00003619308,ENSE00003541183,ENSE00001957470,ENSE00001898623
## ENSG00000211445                                                                                                                                                                                                                                                                 ENSE00002107942,ENSE00002109589,ENSE00002103911,ENSE00002122901,ENSE00002118129,ENSE00002124493,ENSE00003675685,ENSE00003665164,ENSE00002136348,ENSE00002125088,ENSE00002105542,ENSE00003651491,ENSE00003520309,ENSE00003538636,ENSE00002138234,ENSE00002126956,ENSE00002097854,ENSE00003670314,ENSE00003461760,ENSE00002108594,ENSE00002108389,ENSE00002112476,ENSE00001504048
## ENSG00000163884                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001241585,ENSE00001079374,ENSE00002029422,ENSE00002086065,ENSE00001241575
## ENSG00000189221                                                                                                                                                                 ENSE00001415055,ENSE00002218265,ENSE00001834008,ENSE00001836223,ENSE00003501661,ENSE00003656032,ENSE00003691177,ENSE00003550793,ENSE00003487993,ENSE00003504764,ENSE00003590154,ENSE00003495252,ENSE00003524833,ENSE00003526715,ENSE00003672501,ENSE00001811266,ENSE00001383783,ENSE00001382812,ENSE00001377890,ENSE00001373498,ENSE00001369566,ENSE00001677475,ENSE00001816354,ENSE00001614970,ENSE00003583432,ENSE00003609031,ENSE00001875207,ENSE00002311052,ENSE00001389556
## ENSG00000157514                                 ENSE00001457703,ENSE00001457656,ENSE00001927655,ENSE00002041041,ENSE00002038888,ENSE00001837666,ENSE00002071248,ENSE00002029666,ENSE00003665736,ENSE00003656931,ENSE00001927337,ENSE00002058631,ENSE00002076150,ENSE00002024886,ENSE00001457675,ENSE00002294110,ENSE00002065188,ENSE00001457644,ENSE00002035416,ENSE00001457652,ENSE00002038214,ENSE00001457647,ENSE00002071593,ENSE00002026941,ENSE00001929174,ENSE00002056274,ENSE00002082126,ENSE00002049455,ENSE00002037364,ENSE00002051687,ENSE00002035177,ENSE00001870013,ENSE00002065447,ENSE00002038769,ENSE00002054083,ENSE00002030770,ENSE00002038361
## ENSG00000162692                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001167786,ENSE00001811760,ENSE00001825682,ENSE00001451872,ENSE00001451878,ENSE00001067757,ENSE00001067755,ENSE00001067758,ENSE00001067756,ENSE00001067753,ENSE00001067759,ENSE00001067751,ENSE00003565397,ENSE00001892498,ENSE00001451871,ENSE00001167778
## ENSG00000112936                                                                                                 ENSE00001880051,ENSE00001270622,ENSE00000821201,ENSE00002078394,ENSE00000742287,ENSE00003553702,ENSE00003475879,ENSE00001958007,ENSE00003642523,ENSE00003502339,ENSE00002062072,ENSE00000742293,ENSE00000742294,ENSE00000742295,ENSE00001008711,ENSE00000971156,ENSE00000971157,ENSE00000971158,ENSE00001869809,ENSE00000742300,ENSE00001874313,ENSE00003653847,ENSE00003602374,ENSE00001935044,ENSE00001850992,ENSE00003554311,ENSE00003588324,ENSE00002045506,ENSE00003589391,ENSE00003615437,ENSE00001896230,ENSE00001832121,ENSE00001143083
##                     logFC   logCPM        F        PValue           FDR
## ENSG00000109906 -7.141494 4.143740 1719.009  0.000000e+00  0.000000e+00
## ENSG00000152583 -4.549790 5.528678 1693.943  0.000000e+00  0.000000e+00
## ENSG00000096060 -3.992959 6.895112 1560.869  0.000000e+00  0.000000e+00
## ENSG00000101347 -3.752212 9.206504 1575.112  0.000000e+00  0.000000e+00
## ENSG00000211445 -3.713684 9.158160 1542.044  0.000000e+00  0.000000e+00
## ENSG00000163884 -4.472519 4.685058 1348.292 3.819016e-294 4.080109e-290
## ENSG00000189221 -3.332051 6.766776 1184.595 8.385137e-259 7.678629e-255
## ENSG00000157514 -3.180372 6.675013 1062.798 1.743036e-232 1.396651e-228
## ENSG00000162692  3.665549 4.599336 1034.572 2.202493e-226 1.568713e-222
## ENSG00000112936 -3.182516 6.515306 1033.852 3.152321e-226 2.020701e-222
# If you performed likelihood ratio tests
fit <- glmFit(y, design)
lrt <- glmLRT(fit)
topTags(lrt)
## Coefficient:  dexuntrt 
##                                                                                                              seqnames
## ENSG00000109906             11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
## ENSG00000152583                         4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
## ENSG00000165995 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10
## ENSG00000163884                                                                                             3,3,3,3,3
## ENSG00000189221                                             X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X
## ENSG00000127954                                                                                   7,7,7,7,7,7,7,7,7,7
## ENSG00000162692                                                                       1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
## ENSG00000101347                      20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20
## ENSG00000171819                                                                                       1,1,1,1,1,1,1,1
## ENSG00000120129                                                                                               5,5,5,5
##                                                                                                                                                                                                                                                                                                                                                                          start
## ENSG00000109906                                                    113930315,113930447,113930459,113930979,113931229,113932093,113933933,113933933,113933933,113933933,113935134,113992540,114027059,114027059,114051488,114057674,114057674,114057674,114107929,114112889,114112889,114117512,114117920,114117920,114117920,114117920,114121048,114121048,114121048,114121048
## ENSG00000152583 88394487,88394500,88394570,88400582,88401524,88403576,88411425,88411912,88412770,88414734,88414734,88415521,88415521,88415528,88415569,88415592,88415685,88416133,88416133,88416133,88416165,88418283,88420673,88420673,88425974,88449278,88449707,88449707,88450197,88450197,88450197,88450197,88450197,88450197,88450197,88450197,88451697,88452130,88452130
## ENSG00000165995                                              18429606,18429666,18429676,18429721,18429887,18430109,18439812,18439812,18439812,18470736,18549698,18550190,18629646,18629666,18689742,18690853,18690853,18787284,18787284,18789741,18795400,18803165,18803440,18803909,18807265,18807839,18816517,18823005,18825030,18827109,18828159,18828159,18828159,18828159
## ENSG00000163884                                                                                                                                                                                                                                                                                                              126061478,126070684,126071518,126072855,126076080
## ENSG00000189221                                                                                           43515467,43515548,43515550,43517110,43542761,43542761,43552538,43552538,43571119,43571119,43571119,43571952,43571952,43587420,43587420,43590488,43590488,43590941,43591946,43595474,43599928,43601197,43602951,43603041,43603356,43603356,43603614,43603614,43603614
## ENSG00000127954                                                                                                                                                                                                                                                                      87905744,87907343,87910230,87910798,87911956,87913129,87920231,87936107,87936107,87936107
## ENSG00000162692                                                                                                                                                                                                101185298,101185311,101185316,101185320,101186032,101186032,101188576,101190180,101194663,101196754,101197974,101200058,101200731,101203679,101203679,101203679
## ENSG00000101347                                                                                                             35518632,35525971,35526225,35526843,35532560,35532560,35533767,35533767,35539621,35540751,35540864,35545125,35545352,35547767,35555585,35555585,35559163,35559163,35563432,35563432,35563744,35569442,35569442,35575141,35575141,35579839,35579839
## ENSG00000171819                                                                                                                                                                                                                                                                                        11249398,11252327,11253637,11253684,11254518,11254583,11254911,11254911
## ENSG00000120129                                                                                                                                                                                                                                                                                                                        172195093,172196578,172197164,172197589
##                                                                                                                                                                                                                                                                                                                                                                            end
## ENSG00000109906                                                    113930604,113930604,113930604,113931016,113931306,113932283,113934368,113934466,113935290,113935290,113935290,113992636,114027156,114027156,114051664,114057760,114057760,114060486,114108062,114113059,114113059,114118087,114118018,114118066,114118087,114118087,114121198,114121279,114121374,114121398
## ENSG00000152583 88394955,88394955,88394955,88400730,88401672,88403712,88411545,88412030,88412842,88415750,88415750,88415750,88415750,88415750,88415750,88415750,88415750,88416279,88416279,88416295,88416279,88418391,88420737,88420737,88426075,88449385,88449766,88449771,88450244,88450253,88450393,88450524,88450556,88450609,88450655,88450656,88451783,88452201,88452213
## ENSG00000165995                                              18429785,18429785,18429785,18429785,18430144,18430144,18439904,18439904,18440198,18471036,18550246,18550246,18629906,18629906,18690029,18690972,18690972,18787406,18787722,18789877,18795476,18803298,18803459,18803970,18807345,18807897,18816626,18823156,18825125,18827294,18828653,18830038,18830056,18830798
## ENSG00000163884                                                                                                                                                                                                                                                                                                              126062738,126071790,126071790,126073128,126076285
## ENSG00000189221                                                                                           43515662,43515662,43515662,43517217,43542855,43542855,43552675,43552675,43571223,43571223,43571223,43572043,43572043,43587561,43587561,43590629,43590637,43591100,43592042,43595527,43599985,43601294,43603152,43603152,43603418,43603418,43603905,43604409,43606068
## ENSG00000127954                                                                                                                                                                                                                                                                      87908943,87908943,87910394,87912483,87912483,87913586,87920329,87936195,87936203,87936206
## ENSG00000162692                                                                                                                                                                                                101185480,101185480,101185480,101185480,101186121,101186307,101188896,101190446,101194938,101197074,101198240,101200324,101204595,101204169,101204594,101204601
## ENSG00000101347                                                                                                             35521469,35526362,35526362,35526947,35532652,35532652,35533797,35533906,35539736,35540955,35540955,35545233,35545452,35547922,35555655,35555655,35559278,35559278,35563592,35563592,35563806,35569514,35569514,35575207,35575207,35580111,35580246
## ENSG00000171819                                                                                                                                                                                                                                                                                        11250012,11252427,11253831,11253831,11254716,11254716,11255235,11256038
## ENSG00000120129                                                                                                                                                                                                                                                                                                                        172196135,172196797,172197309,172198198
##                                                                                                                                                              width
## ENSG00000109906                                 290,158,146,38,78,191,436,534,1358,1358,157,97,98,98,177,87,87,2813,134,171,171,576,99,147,168,168,151,232,327,351
## ENSG00000152583 469,456,386,149,149,137,121,119,73,1017,1017,230,230,223,182,159,66,147,147,163,115,109,65,65,102,108,60,65,48,57,197,328,360,413,459,460,87,72,84
## ENSG00000165995                    180,120,110,65,258,36,93,93,387,301,549,57,261,241,288,120,120,123,439,137,77,134,20,62,81,59,110,152,96,186,495,1880,1898,2640
## ENSG00000163884                                                                                                                              1261,1107,273,274,206
## ENSG00000189221                                         196,115,113,108,95,95,138,138,105,105,105,92,92,142,142,142,150,160,97,54,58,98,202,112,63,63,292,796,2455
## ENSG00000127954                                                                                                            3200,1601,165,1686,528,458,99,89,97,100
## ENSG00000162692                                                                                    183,170,165,161,90,276,321,267,276,321,267,267,3865,491,916,923
## ENSG00000101347                                                  2838,392,138,105,93,93,31,140,116,205,92,109,101,156,71,71,116,116,161,161,63,73,73,67,67,273,408
## ENSG00000171819                                                                                                                   615,101,195,148,199,134,325,1128
## ENSG00000120129                                                                                                                                   1043,220,146,610
##                                                                                        strand
## ENSG00000109906                   +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000152583 -,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-
## ENSG00000165995           +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000163884                                                                     -,-,-,-,-
## ENSG00000189221                     +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000127954                                                           -,-,-,-,-,-,-,-,-,-
## ENSG00000162692                                               +,+,+,+,+,+,+,+,+,+,+,+,+,+,+,+
## ENSG00000101347                         -,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-
## ENSG00000171819                                                               +,+,+,+,+,+,+,+
## ENSG00000120129                                                                       -,-,-,-
##                                                                                                                                                                                                                                                                                          exon_id
## ENSG00000109906                                                                360958,360959,360960,360961,360962,360963,360964,360965,360967,360966,360968,360969,360971,360970,360972,360974,360973,360975,360976,360977,360978,360979,360980,360981,360982,360983,360984,360985,360986,360987
## ENSG00000152583 172689,172690,172691,172692,172693,172694,172695,172696,172697,172699,172698,172700,172701,172702,172703,172704,172705,172707,172706,172708,172709,172710,172711,172712,172713,172714,172715,172716,172717,172718,172719,172720,172721,172722,172723,172724,172725,172726,172727
## ENSG00000165995                                    321791,321792,321793,321794,321795,321796,321797,321798,321799,321800,321801,321802,321803,321804,321805,321806,321807,321808,321809,321810,321811,321812,321813,321814,321815,321816,321817,321818,321819,321820,321821,321822,321823,321824
## ENSG00000163884                                                                                                                                                                                                                                               145255,145256,145257,145258,145259
## ENSG00000189221                                                                       653982,653983,653984,653985,653986,653987,653989,653988,653990,653991,653992,653993,653994,653995,653996,653997,653998,653999,654000,654001,654002,654003,654004,654005,654006,654007,654008,654009,654010
## ENSG00000127954                                                                                                                                                                                                            263537,263538,263539,263540,263541,263542,263543,263544,263545,263546
## ENSG00000162692                                                                                                                                                                                  14792,14793,14794,14795,14796,14797,14798,14799,14800,14801,14802,14803,14804,14805,14806,14807
## ENSG00000101347                                                                                     626560,626561,626562,626563,626565,626564,626566,626567,626568,626569,626570,626571,626572,626573,626575,626574,626576,626577,626578,626579,626580,626581,626582,626584,626583,626585,626586
## ENSG00000171819                                                                                                                                                                                                                                          2221,2222,2223,2224,2225,2226,2227,2228
## ENSG00000120129                                                                                                                                                                                                                                                      207637,207638,207639,207640
##                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       exon_name
## ENSG00000109906                                                                                                                                                 ENSE00001344383,ENSE00002217296,ENSE00002239785,ENSE00002278969,ENSE00001777728,ENSE00002277816,ENSE00002264739,ENSE00002267450,ENSE00003532715,ENSE00003522546,ENSE00002223922,ENSE00002239280,ENSE00003606532,ENSE00003503866,ENSE00002304588,ENSE00003667676,ENSE00003652618,ENSE00002237247,ENSE00002308595,ENSE00003574983,ENSE00003648066,ENSE00002216844,ENSE00002254046,ENSE00002202712,ENSE00003533854,ENSE00003675344,ENSE00002251269,ENSE00002289800,ENSE00002238115,ENSE00001513888
## ENSG00000152583 ENSE00001914146,ENSE00001135423,ENSE00002056886,ENSE00001175672,ENSE00001175678,ENSE00001175684,ENSE00001175691,ENSE00001006057,ENSE00001006053,ENSE00003651115,ENSE00003561541,ENSE00003487906,ENSE00003598972,ENSE00001786211,ENSE00002316459,ENSE00002028083,ENSE00001789990,ENSE00003602905,ENSE00003459209,ENSE00002234840,ENSE00001678790,ENSE00002045268,ENSE00003592507,ENSE00003613792,ENSE00001605148,ENSE00002310772,ENSE00002225747,ENSE00002211631,ENSE00002063937,ENSE00002061881,ENSE00002270604,ENSE00002252787,ENSE00002269371,ENSE00001175712,ENSE00001603831,ENSE00001942085,ENSE00002020252,ENSE00002083738,ENSE00002034086
## ENSG00000165995                                                                                 ENSE00001552836,ENSE00001323316,ENSE00001912501,ENSE00001877551,ENSE00001563168,ENSE00001473561,ENSE00003566244,ENSE00003685211,ENSE00001824310,ENSE00001935997,ENSE00001473551,ENSE00001696833,ENSE00001402115,ENSE00001811759,ENSE00001473523,ENSE00003471380,ENSE00003510985,ENSE00001005446,ENSE00001886774,ENSE00001005448,ENSE00001005464,ENSE00001005450,ENSE00001367687,ENSE00001385143,ENSE00001098801,ENSE00001098797,ENSE00001098795,ENSE00001098805,ENSE00001737387,ENSE00001098799,ENSE00001266433,ENSE00001846919,ENSE00001548772,ENSE00001552865
## ENSG00000163884                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001241585,ENSE00001079374,ENSE00002029422,ENSE00002086065,ENSE00001241575
## ENSG00000189221                                                                                                                                                                 ENSE00001415055,ENSE00002218265,ENSE00001834008,ENSE00001836223,ENSE00003501661,ENSE00003656032,ENSE00003691177,ENSE00003550793,ENSE00003487993,ENSE00003504764,ENSE00003590154,ENSE00003495252,ENSE00003524833,ENSE00003526715,ENSE00003672501,ENSE00001811266,ENSE00001383783,ENSE00001382812,ENSE00001377890,ENSE00001373498,ENSE00001369566,ENSE00001677475,ENSE00001816354,ENSE00001614970,ENSE00003583432,ENSE00003609031,ENSE00001875207,ENSE00002311052,ENSE00001389556
## ENSG00000127954                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001917465,ENSE00001277946,ENSE00001163797,ENSE00001753614,ENSE00001483677,ENSE00001120706,ENSE00001621319,ENSE00001673636,ENSE00001905312,ENSE00001871078
## ENSG00000162692                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001167786,ENSE00001811760,ENSE00001825682,ENSE00001451872,ENSE00001451878,ENSE00001067757,ENSE00001067755,ENSE00001067758,ENSE00001067756,ENSE00001067753,ENSE00001067759,ENSE00001067751,ENSE00003565397,ENSE00001892498,ENSE00001451871,ENSE00001167778
## ENSG00000101347                                                                                                                                                                                                 ENSE00000800455,ENSE00001930417,ENSE00000661812,ENSE00000661813,ENSE00003692177,ENSE00003551249,ENSE00001842453,ENSE00000661815,ENSE00001622813,ENSE00001604475,ENSE00001711142,ENSE00001793017,ENSE00001667406,ENSE00001752622,ENSE00003598833,ENSE00003555165,ENSE00003535434,ENSE00003608826,ENSE00003546823,ENSE00003559540,ENSE00002218059,ENSE00003462531,ENSE00003673643,ENSE00003619308,ENSE00003541183,ENSE00001957470,ENSE00001898623
## ENSG00000171819                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001471825,ENSE00001168153,ENSE00001168146,ENSE00001948794,ENSE00001168140,ENSE00001823259,ENSE00001841505,ENSE00001471787
## ENSG00000120129                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ENSE00001876542,ENSE00000769464,ENSE00000769465,ENSE00000812856
##                     logFC   logCPM        LR        PValue           FDR
## ENSG00000109906 -7.141823 4.143740 1293.2297 3.345918e-283 2.144800e-278
## ENSG00000152583 -4.552568 5.528678  901.7878 4.010221e-198 1.285316e-193
## ENSG00000165995 -3.274517 4.504348  749.6857 4.696169e-165 1.003446e-160
## ENSG00000163884 -4.458891 4.685058  703.8821 4.280694e-155 6.860026e-151
## ENSG00000189221 -3.335100 6.766776  647.7867 6.767998e-143 8.676844e-139
## ENSG00000127954 -5.197020 3.652849  638.6801 6.471522e-141 6.913959e-137
## ENSG00000162692  3.677380 4.599336  634.3726 5.595308e-140 5.123863e-136
## ENSG00000101347 -3.751932 9.206504  631.1278 2.841479e-139 2.276806e-135
## ENSG00000171819 -5.668260 3.500283  615.0520 8.911131e-136 6.346904e-132
## ENSG00000120129 -2.932273 7.308257  603.5237 2.866583e-133 1.837537e-129
# lrt to DESeqResults

tbledger <- lrt$table
colnames(tbledger)[colnames(tbledger) == "PValue"] <- "pvalue"
colnames(tbledger)[colnames(tbledger) == "logFC"] <- "log2FoldChange"
colnames(tbledger)[colnames(tbledger) == "logCPM"] <- "baseMean"
# get from the logcpm to something more the baseMean for better
tbledger$baseMean <- (2^tbledger$baseMean) * mean(dge_airway$samples$lib.size) / 1e6
# use the constructor for DESeqResults
edger_resu <- DESeqResults(DataFrame(tbledger))
edger_resu <- DESeq2:::pvalueAdjustment(edger_resu,
  independentFiltering = TRUE,
  alpha = 0.05, pAdjustMethod = "BH"
)

# cfr with res_airway
# plot(res_airway$pvalue,edger_resu$pvalue)



### with limma-voom
x <- calcNormFactors(dge_airway)
design <- model.matrix(~ 0 + dex + cell)
contr.matrix <- makeContrasts(dextrt - dexuntrt, levels = colnames(design))
v <- voom(x, design)
vfit <- lmFit(v, design)
vfit <- contrasts.fit(vfit, contrasts = contr.matrix)
efit <- eBayes(vfit)

tbllimma <- topTable(efit, number = Inf, sort.by = "none")
colnames(tbllimma)[colnames(tbllimma) == "P.Value"] <- "pvalue"
colnames(tbllimma)[colnames(tbllimma) == "logFC"] <- "log2FoldChange"
colnames(tbllimma)[colnames(tbllimma) == "AveExpr"] <- "baseMean"
colnames(tbllimma)[colnames(tbllimma) == "adj.P.Val"] <- "padj"
# get from the logcpm to something more the baseMean for better
tbllimma$baseMean <- (2^tbllimma$baseMean) * mean(dge_airway$samples$lib.size) / 1e6
# use the constructor for DESeqResults
limma_resu <- DESeqResults(DataFrame(tbllimma))

# cfr with res_airway
# plot(res_airway$pvalue,limma_resu$pvalue)

After preparing the objects, you can launch the app with the following command:

ideal(redo_dds_airway, edger_resu)
# or ...
ideal(redo_dds_airway, limma_resu)

Basically, you need a data.frame (e.g. myresults_df) with 3 columns to create the DESeqResults object to be passed to the app, with this names:

  • baseMean as an average expression value
  • log2FoldChange as an indicator for the effect size
  • pvalue as a measure of significance

Then, you just need to call DESeqResults(DataFrame(myresults_df)). padj can be computed either by p.adjust or using DESeq2:::pvalueAdjustment as in the example above.

7 Functions exported by the package for standalone usage

The functions exported by the ideal package can be also used in a standalone scenario, provided the required objects are in the working environment. They are listed here for an overview, but please refer to the documentation for additional details. Where possible, for each function a code snippet will be provided for its typical usage.

7.1 deseqresult2DEgenes and deseqresult2tbl

deseqresult2DEgenes and deseqresult2tbl generate a tidy table with the results of DESeq2, sorted by the values in the padj column.

summary(res_airway)
## 
## out of 33469 with nonzero total read count
## adjusted p-value < 0.05
## LFC > 0 (up)       : 2211, 6.6%
## LFC < 0 (down)     : 1817, 5.4%
## outliers [1]       : 0, 0%
## low counts [2]     : 16676, 50%
## (mean count < 7)
## [1] see 'cooksCutoff' argument of ?results
## [2] see 'independentFiltering' argument of ?results
res_airway
## log2 fold change (MLE): dex trt vs untrt 
## Wald test p-value: dex trt vs untrt 
## DataFrame with 64102 rows and 6 columns
##                  baseMean log2FoldChange     lfcSE      stat      pvalue
##                 <numeric>      <numeric> <numeric> <numeric>   <numeric>
## ENSG00000000003  708.6022     -0.3812540  0.100654 -3.787752 0.000152016
## ENSG00000000005    0.0000             NA        NA        NA          NA
## ENSG00000000419  520.2979      0.2068126  0.112219  1.842943 0.065337292
## ENSG00000000457  237.1630      0.0379204  0.143445  0.264356 0.791505742
## ENSG00000000460   57.9326     -0.0881682  0.287142 -0.307054 0.758801924
## ...                   ...            ...       ...       ...         ...
## LRG_94                  0             NA        NA        NA          NA
## LRG_96                  0             NA        NA        NA          NA
## LRG_97                  0             NA        NA        NA          NA
## LRG_98                  0             NA        NA        NA          NA
## LRG_99                  0             NA        NA        NA          NA
##                       padj
##                  <numeric>
## ENSG00000000003 0.00119738
## ENSG00000000005         NA
## ENSG00000000419 0.18631502
## ENSG00000000457 0.90374373
## ENSG00000000460 0.88619241
## ...                    ...
## LRG_94                  NA
## LRG_96                  NA
## LRG_97                  NA
## LRG_98                  NA
## LRG_99                  NA
head(deseqresult2tbl(res_airway))
##                              id   baseMean log2FoldChange     lfcSE     stat
## ENSG00000152583 ENSG00000152583   997.4398       4.574919 0.1840561 24.85611
## ENSG00000165995 ENSG00000165995   495.0929       3.291062 0.1331737 24.71255
## ENSG00000120129 ENSG00000120129  3409.0294       2.947810 0.1214377 24.27426
## ENSG00000101347 ENSG00000101347 12703.3871       3.766995 0.1554380 24.23472
## ENSG00000189221 ENSG00000189221  2341.7673       3.353580 0.1417823 23.65301
## ENSG00000211445 ENSG00000211445 12285.6151       3.730403 0.1658306 22.49526
##                        pvalue          padj
## ENSG00000152583 2.220933e-136 3.729613e-132
## ENSG00000165995 7.839410e-135 6.582360e-131
## ENSG00000120129 3.666925e-130 2.052622e-126
## ENSG00000101347 9.583815e-130 4.023525e-126
## ENSG00000189221 1.098955e-123 3.690950e-120
## ENSG00000211445 4.618318e-112 1.292590e-108

In particular, deseqresult2DEgenes only includes genes detected as DE.

head(deseqresult2DEgenes(res_airway, FDR = 0.05))
##                              id   baseMean log2FoldChange     lfcSE     stat
## ENSG00000152583 ENSG00000152583   997.4398       4.574919 0.1840561 24.85611
## ENSG00000165995 ENSG00000165995   495.0929       3.291062 0.1331737 24.71255
## ENSG00000120129 ENSG00000120129  3409.0294       2.947810 0.1214377 24.27426
## ENSG00000101347 ENSG00000101347 12703.3871       3.766995 0.1554380 24.23472
## ENSG00000189221 ENSG00000189221  2341.7673       3.353580 0.1417823 23.65301
## ENSG00000211445 ENSG00000211445 12285.6151       3.730403 0.1658306 22.49526
##                        pvalue          padj
## ENSG00000152583 2.220933e-136 3.729613e-132
## ENSG00000165995 7.839410e-135 6.582360e-131
## ENSG00000120129 3.666925e-130 2.052622e-126
## ENSG00000101347 9.583815e-130 4.023525e-126
## ENSG00000189221 1.098955e-123 3.690950e-120
## ENSG00000211445 4.618318e-112 1.292590e-108
# the output in the first lines is the same, but
dim(res_airway)
## [1] 64102     6
dim(deseqresult2DEgenes(res_airway))
## [1] 4028    7

This tables can be enhanced with clickable links to the ENSEMBL and NCBI gene databases by the following commands:

myde <- deseqresult2DEgenes(res_airway, FDR = 0.05)
myde$symbol <- mapIds(org.Hs.eg.db, keys = as.character(myde$id), column = "SYMBOL", keytype = "ENSEMBL")
## 'select()' returned 1:many mapping between keys and columns
myde_enhanced <- myde
myde_enhanced$id <- ideal:::createLinkENS(myde_enhanced$id, species = "Homo_sapiens")
myde_enhanced$symbol <- ideal:::createLinkGeneSymbol(myde_enhanced$symbol)
DT::datatable(myde_enhanced[1:100, ], escape = FALSE)

7.2 ggplotCounts

ggplotCounts extends the functionality of the plotCounts function of DESeq2, and plots the normalized counts of a single gene as a boxplot, with jittered points superimposed.

ggplotCounts(
  dds = dds_airway,
  gene = "ENSG00000103196", # CRISPLD2 in the original publication
  intgroup = "dex"
)

If an annotation_obj is provided, their gene name can also be included in the title.

ggplotCounts(
  dds = dds_airway,
  gene = "ENSG00000103196", # CRISPLD2 in the original publication
  intgroup = "dex",
  annotation_obj = annotation_airway
)

When used in the context of the app, it is possible to seamless search for genes also by their gene name, making exploration even more immediate.

7.3 goseqTable

goseqTable is a wrapper to extract the functional GO terms enriched in in a list of (DE) genes, based on the algorithm and the implementation in the goseq package.

Its counterpart, based on the topGO package, can be found in the pcaExplorer package.

Please note that the following code chunks are not run only for reducing compilation time. The reader is invited to try out the functionality by simply executing these commands.

res_subset <- deseqresult2DEgenes(res_airway)[1:100, ] # taking only a subset of the DE genes
myde <- res_subset$id
myassayed <- rownames(res_airway)
mygo <- goseqTable(
  de.genes = myde,
  assayed.genes = myassayed,
  genome = "hg38",
  id = "ensGene",
  testCats = "GO:BP",
  addGeneToTerms = FALSE
)
head(mygo)

As for the results, this table can be enhanced by adding the links for each category to the AmiGO database.

mygo_enhanced <- mygo
# using the unexported function to link the GO term to the entry in the AmiGO db
mygo_enhanced$category <- ideal:::createLinkGO(mygo_enhanced$category)
DT::datatable(mygo_enhanced, escape = FALSE)

7.4 plot_ma

The MA plot provided by ideal displays the gene-wise log2-fold changes (logFCs) versus the average expression value. As a main input parameter, a DESeqResults object is required. Control on the appearance of the plot can be applied by selecting the False Discovery Rate (FDR), the point transparency (point_alpha), adding horizontal lines at particular logFC values (hlines). The user can also decide to add rug plots in the margins (setting add_rug to TRUE).

To facilitate the inspection of a particular gene or gene set, intgenes can assume the value of a vector of genes (either the IDs or the gene symbols if symbol column is provided in res_obj. Labels can be added via labels_intgenes, while classical labels/title can be also edited as preferred (see plot_ma for all details).

plot_ma(res_airway,
  FDR = 0.05, hlines = 1,
  title = "Adding horizontal lines", add_rug = FALSE
)
plot_ma(res_airway,
  FDR = 0.1,
  intgenes = c(
    "ENSG00000103196", # CRISPLD2
    "ENSG00000120129", # DUSP1
    "ENSG00000163884", # KLF15
    "ENSG00000179094"
  ), # PER1
  title = "Providing a shortlist of genes",
  add_rug = FALSE
)
res_airway2 <- res_airway
res_airway2$symbol <- mapIds(org.Hs.eg.db, keys = rownames(res_airway2), column = "SYMBOL", keytype = "ENSEMBL")
## 'select()' returned 1:many mapping between keys and columns
plot_ma(res_airway2,
  FDR = 0.05,
  intgenes = c(
    "CRISPLD2", # CRISPLD2
    "DUSP1", # DUSP1
    "KLF15", # KLF15
    "PER1"
  ), # PER1
  annotation_obj = annotation_airway,
  hlines = 2,
  add_rug = FALSE,
  title = "Putting gene names..."
)

7.5 plot_volcano

The volcano plot gives a different flavor for the gene overview, displaying log2-fold changes and log p-values.

In a way similar to plot_ma, genes can be annotated with intgenes, and vertical lines can be added via vlines. ylim_up controls the y axis upper limit to visualize better the bulk of genes - keep in mind that very small p-values due to robust differences/large effect sizes can be “cut out”.

plot_volcano(res_airway)
plot_volcano(res_airway2,
  FDR = 0.05,
  intgenes = c(
    "CRISPLD2", # CRISPLD2
    "DUSP1", # DUSP1
    "KLF15", # KLF15
    "PER1"
  ), # PER1
  title = "Selecting the handful of genes - and displaying the full range for the -log10(pvalue)",
  ylim_up = -log10(min(res_airway2$pvalue, na.rm = TRUE))
)

7.6 sepguesser

sepguesser makes an educated guess on the separator character for the input text file (file). The separator list can be provided as a vector in sep_list (defaults to comma, tab, semicolon, and whitespace - which ideally could cover most of the cases). The heuristics is based on the number of occurrencies of each separator in each line.

sepguesser(system.file("extdata/design_commas.txt", package = "ideal"))
## [1] ","
sepguesser(system.file("extdata/design_semicolons.txt", package = "ideal"))
## [1] ";"
sepguesser(system.file("extdata/design_spaces.txt", package = "ideal"))
## [1] " "
anyfile <- system.file("extdata/design_tabs.txt", package = "ideal") # we know it is going to be TAB
guessed_sep <- sepguesser(anyfile)
guessed_sep
## [1] "\t"
# to be used for reading in the same file, without having to specify the sep
read.delim(anyfile,
  header = TRUE, as.is = TRUE,
  sep = guessed_sep,
  quote = "", row.names = 1, check.names = FALSE
)
##            SampleName    cell   dex albut        Run avgLength Experiment
## SRR1039508 GSM1275862  N61311 untrt untrt SRR1039508       126  SRX384345
## SRR1039509 GSM1275863  N61311   trt untrt SRR1039509       126  SRX384346
## SRR1039512 GSM1275866 N052611 untrt untrt SRR1039512       126  SRX384349
## SRR1039513 GSM1275867 N052611   trt untrt SRR1039513        87  SRX384350
## SRR1039516 GSM1275870 N080611 untrt untrt SRR1039516       120  SRX384353
## SRR1039517 GSM1275871 N080611   trt untrt SRR1039517       126  SRX384354
## SRR1039520 GSM1275874 N061011 untrt untrt SRR1039520       101  SRX384357
## SRR1039521 GSM1275875 N061011   trt untrt SRR1039521        98  SRX384358
##               Sample    BioSample sizeFactor
## SRR1039508 SRS508568 SAMN02422669  1.0236476
## SRR1039509 SRS508567 SAMN02422675  0.8961667
## SRR1039512 SRS508571 SAMN02422678  1.1794861
## SRR1039513 SRS508572 SAMN02422670  0.6700538
## SRR1039516 SRS508575 SAMN02422682  1.1776714
## SRR1039517 SRS508576 SAMN02422673  1.3990365
## SRR1039520 SRS508579 SAMN02422683  0.9207787
## SRR1039521 SRS508580 SAMN02422677  0.9445141

8 Creating and sharing output objects

While running the app, the user can

  • generate and save graphics
  • create and export tables
  • generate, preview, download/export an HTML report
  • save the values of the reactiveValues in an environment, or in binary format

This functionality to retrieve and share the output is provided by action buttons that are placed close to each element of interest.

8.1 Expanding the analysis after ideal

After exporting the objects to the R environment, via the button “Exit ideal and save”, it is possible to continue the analyses e.g. using alternative methods for functional enrichment analysis, with Functional Class Scoring methods (such as GSEA, as implemented in fgsea), or additional methods for Overrepresentation Analysis (e.g. gprofiler2).
In the example below, we show an example of the code required to perform fgsea on the set of objects exported from ideal().

library("fgsea")
# selecting the result object from the exported environment
exported_res <- ideal_env$ideal_values_20200926_135052$res_obj
summary(exported_res)

# for processing of intermediate steps
library("dplyr")
library("tibble")

# extracting the rankes for pre-ranked gsea
de_ranks <- exported_res %>%
  as.data.frame() %>%
  dplyr::arrange(padj) %>%
  dplyr::select(symbol, stat) %>%
  deframe()
head(de_ranks, 20)

# loading the signatures from the gmt file - to be downloaded locally
pathways_gmtfile <- gmtPathways("path_to/msigdb_v7.0_GMTs/h.all.v6.2.symbols.gmt")

# running fgsea
fgsea_result <- fgsea(
  pathways = pathways_gmtfile,
  stats = de_ranks,
  nperm = 100000
)
fgsea_result <- fgsea_result %>%
  arrange(desc(NES))

# displaying the results
DT::datatable(fgsea_result)

The following chunk shows an example of how to perform the functional enrichment analysis with g:Profiler’s tool g:GOST, using the interface in gprofiler2

library("gprofiler2")

# selecting the result object from the exported environment
exported_res <- ideal_env$ideal_values_20200926_135052$res_obj
summary(exported_res)

# extracting the DE genes vector
degenes <- deseqresult2DEgenes(exported_res, FDR = 0.01)$symbol

# running the test
gost_res <- gost(
  query = degenes[1:1000],
  organism = "hsapiens",
  ordered_query = FALSE,
  multi_query = FALSE,
  significant = FALSE,
  exclude_iea = TRUE,
  measure_underrepresentation = FALSE,
  evcodes = TRUE,
  user_threshold = 0.05,
  correction_method = "g_SCS",
  domain_scope = "annotated",
  numeric_ns = "",
  sources = "GO:BP",
  as_short_link = FALSE
)

# displaying the results
DT::datatable(gost_res$result)

9 Enhancing ideal

The annotation_obj is a quick helper to make your data and results easier to read. For creating it, you can exploit the corresponding org.XX.eg.db packages, available in Bioconductor.

Currently available are the following (in alphabetical order):

They can all be easily installed with BiocManager::install("orgdb_packagename").

In a similar way, for using at best the goseq package, the gene length information can also be computed if the corresponding TxDb packages are installed. Currently, following TxDb packages are available:

As for the org.XX.eg.db above, these can all be quickly installed with BiocManager::install("txdb_packagename").

10 Further development

Additional functionality for the ideal will be added in the future, as it is tightly related to a topic under current development research.

Improvements, suggestions, bugs, issues and feedback of any type can be sent to .

Session Info

sessionInfo()
## R version 4.1.2 (2021-11-01)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.3 LTS
## 
## Matrix products: default
## BLAS:   /home/biocbuild/bbs-3.14-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.14-bioc/R/lib/libRlapack.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_GB              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] stats4    stats     graphics  grDevices utils     datasets  methods  
## [8] base     
## 
## other attached packages:
##  [1] edgeR_3.36.0                limma_3.50.0               
##  [3] DEFormats_1.22.0            org.Hs.eg.db_3.14.0        
##  [5] DESeq2_1.34.0               airway_1.14.0              
##  [7] SummarizedExperiment_1.24.0 GenomicRanges_1.46.1       
##  [9] GenomeInfoDb_1.30.0         MatrixGenerics_1.6.0       
## [11] matrixStats_0.61.0          ideal_1.18.1               
## [13] bigmemory_4.5.36            topGO_2.46.0               
## [15] SparseM_1.81                GO.db_3.14.0               
## [17] AnnotationDbi_1.56.2        IRanges_2.28.0             
## [19] S4Vectors_0.32.3            Biobase_2.54.0             
## [21] graph_1.72.0                BiocGenerics_0.40.0        
## [23] BiocStyle_2.22.0           
## 
## loaded via a namespace (and not attached):
##   [1] utf8_1.2.2               shinydashboard_0.7.2     tidyselect_1.1.1        
##   [4] heatmaply_1.3.0          RSQLite_2.2.8            htmlwidgets_1.5.4       
##   [7] grid_4.1.2               TSP_1.1-11               BiocParallel_1.28.2     
##  [10] IHW_1.22.0               munsell_0.5.0            codetools_0.2-18        
##  [13] DT_0.20                  rentrez_1.2.3            withr_2.4.3             
##  [16] colorspace_2.0-2         Category_2.60.0          filelock_1.0.2          
##  [19] highr_0.9                pcaExplorer_2.20.1       knitr_1.36              
##  [22] NMF_0.23.0               labeling_0.4.2           slam_0.1-49             
##  [25] GenomeInfoDbData_1.2.7   lpsymphony_1.22.0        farver_2.1.0            
##  [28] bit64_4.0.5              pheatmap_1.0.12          vctrs_0.3.8             
##  [31] generics_0.1.1           xfun_0.28                BiocFileCache_2.2.0     
##  [34] R6_2.5.1                 doParallel_1.0.16        seriation_1.3.1         
##  [37] locfit_1.5-9.4           bitops_1.0-7             cachem_1.0.6            
##  [40] shinyAce_0.4.1           DelayedArray_0.20.0      assertthat_0.2.1        
##  [43] promises_1.2.0.1         BiocIO_1.4.0             scales_1.1.1            
##  [46] gtable_0.3.0             rlang_0.4.12             genefilter_1.76.0       
##  [49] splines_4.1.2            rtracklayer_1.54.0       lazyeval_0.2.2          
##  [52] checkmate_2.0.0          shinyBS_0.61             BiocManager_1.30.16     
##  [55] yaml_2.2.1               reshape2_1.4.4           backports_1.4.0         
##  [58] GenomicFeatures_1.46.1   threejs_0.3.3            crosstalk_1.2.0         
##  [61] httpuv_1.6.3             RBGL_1.70.0              tools_4.1.2             
##  [64] bookdown_0.24            gridBase_0.4-7           ggplot2_3.3.5           
##  [67] ellipsis_0.3.2           gplots_3.1.1             jquerylib_0.1.4         
##  [70] RColorBrewer_1.1-2       Rcpp_1.0.7               plyr_1.8.6              
##  [73] base64enc_0.1-3          progress_1.2.2           zlibbioc_1.40.0         
##  [76] purrr_0.3.4              RCurl_1.98-1.5           BiasedUrn_1.07          
##  [79] prettyunits_1.1.1        viridis_0.6.2            ggrepel_0.9.1           
##  [82] cluster_2.1.2            magrittr_2.0.1           magick_2.7.3            
##  [85] data.table_1.14.2        goseq_1.46.0             hms_1.1.1               
##  [88] mime_0.12                evaluate_0.14            xtable_1.8-4            
##  [91] XML_3.99-0.8             gridExtra_2.3            compiler_4.1.2          
##  [94] biomaRt_2.50.1           tibble_3.1.6             KernSmooth_2.23-20      
##  [97] crayon_1.4.2             htmltools_0.5.2          GOstats_2.60.0          
## [100] mgcv_1.8-38              later_1.3.0              tidyr_1.1.4             
## [103] geneplotter_1.72.0       DBI_1.1.1                geneLenDataBase_1.30.0  
## [106] dbplyr_2.1.1             rappdirs_0.3.3           Matrix_1.3-4            
## [109] parallel_4.1.2           igraph_1.2.9             pkgconfig_2.0.3         
## [112] bigmemory.sri_0.1.3      GenomicAlignments_1.30.0 registry_0.5-1          
## [115] plotly_4.10.0            xml2_1.3.3               foreach_1.5.1           
## [118] annotate_1.72.0          bslib_0.3.1              rngtools_1.5.2          
## [121] pkgmaker_0.32.2          webshot_0.5.2            XVector_0.34.0          
## [124] AnnotationForge_1.36.0   stringr_1.4.0            digest_0.6.29           
## [127] Biostrings_2.62.0        rmarkdown_2.11           rintrojs_0.3.0          
## [130] dendextend_1.15.2        GSEABase_1.56.0          restfulr_0.0.13         
## [133] curl_4.3.2               shiny_1.7.1              Rsamtools_2.10.0        
## [136] gtools_3.9.2             rjson_0.2.20             lifecycle_1.0.1         
## [139] nlme_3.1-153             jsonlite_1.7.2           viridisLite_0.4.0       
## [142] fansi_0.5.0              pillar_1.6.4             lattice_0.20-45         
## [145] KEGGREST_1.34.0          fastmap_1.1.0            httr_1.4.2              
## [148] survival_3.2-13          glue_1.5.1               fdrtool_1.2.17          
## [151] UpSetR_1.4.0             png_0.1-7                iterators_1.0.13        
## [154] bit_4.0.4                Rgraphviz_2.38.0         stringi_1.7.6           
## [157] sass_0.4.0               blob_1.2.2               caTools_1.18.2          
## [160] memoise_2.0.1            dplyr_1.0.7