Name Mode Size
..
newsnap_01_upload.png 100644 125 kb
newsnap_02_instructions.png 100644 228 kb
newsnap_03_countstable.png 100644 195 kb
newsnap_04_overview.png 100644 169 kb
newsnap_05_samples.png 100644 160 kb
newsnap_06_genes.png 100644 342 kb
newsnap_07_finder.png 100644 143 kb
newsnap_08_pca2go.png 100644 89 kb
newsnap_09_multifac.png 100644 115 kb
newsnap_10_editor.png 100644 58 kb
newsnap_11_about.png 100644 81 kb
pcaExplorer.Rmd 100644 36 kb
unr_00_demo_loaded.png 100644 150 kb
unr_01_splom.png 100644 119 kb
unr_02_sts_heatmap.png 100644 34 kb
unr_03_summary_counts.png 100644 70 kb
unr_04a_samplespca.png 100644 38 kb
unr_04b_samples_dex.png 100644 23 kb
unr_05_loadings.png 100644 34 kb
unr_06a_genefinder_dusp1.png 100644 79 kb
unr_06b_genefinder_per1.png 100644 23 kb
unr_06c_genefinder_ddx3y.png 100644 28 kb
unr_06c_genefinder_ddx3y_dex.png 100644 25 kb
unr_07_genespca.png 100644 237 kb
unr_08_pca2go_topgo.png 100644 125 kb
unr_90_exitsave.png 100644 9 kb
unr_99_editreport.png 100644 54 kb
upandrunning.Rmd 100644 16 kb
README.md
<img src="man/figures/pcaExplorer.png" align="right" alt="" width="120" /> # pcaExplorer - Interactive exploration of Principal Components of Samples and Genes in RNA-seq data <a href="https://doi.org/10.1186/s12859-019-2879-1"><img src="https://img.shields.io/badge/doi-pcaExplorer-blue.svg"><a> <a href="https://doi.org/10.1002/cpz1.411"><img src="https://img.shields.io/badge/doi-pcaExplorer_protocol-blue.svg"><a> ## Software status [![R build status](https://github.com/federicomarini/pcaExplorer/workflows/R-CMD-check/badge.svg)](https://github.com/federicomarini/pcaExplorer/actions) | Platforms | OS | R CMD check | |:----------------:|:----------------:|:----------------:| | Bioc ([_devel_](http://bioconductor.org/packages/devel/bioc/html/pcaExplorer.html)) | Multiple | [![Bioconductor-devel Build Status](http://bioconductor.org/shields/build/devel/bioc/pcaExplorer.svg)](http://bioconductor.org/checkResults/devel/bioc-LATEST/pcaExplorer) | | Bioc ([_release_](http://bioconductor.org/packages/release/bioc/html/pcaExplorer.html)) | Multiple | [![Bioconductor-release Build Status](http://bioconductor.org/shields/build/release/bioc/pcaExplorer.svg)](http://bioconductor.org/checkResults/release/bioc-LATEST/pcaExplorer) | [![codecov.io](https://codecov.io/github/federicomarini/pcaExplorer/coverage.svg?branch=master)](https://codecov.io/github/federicomarini/pcaExplorer?branch=master) `pcaExplorer` is a Bioconductor package containing a Shiny application for analyzing expression data in different conditions and experimental factors. It is a general-purpose interactive companion tool for RNA-seq analysis, which guides the user in exploring the Principal Components of the data under inspection. `pcaExplorer` provides tools and functionality to detect outlier samples, genes that show particular patterns, and additionally provides a functional interpretation of the principal components for further quality assessment and hypothesis generation on the input data. Moreover, a novel visualization approach is presented to simultaneously assess the effect of more than one experimental factor on the expression levels. Thanks to its interactive/reactive design, it is designed to become a practical companion to any RNA-seq dataset analysis, making exploratory data analysis accessible also to the bench biologist, while providing additional insight also for the experienced data analyst. ## Installation `pcaExplorer` can be easily installed using `BiocManager::install()`: ``` r if (!requireNamespace("BiocManager", quietly=TRUE)) install.packages("BiocManager") BiocManager::install("pcaExplorer") ``` or, optionally, ``` r BiocManager::install("federicomarini/pcaExplorer") # or alternatively... devtools::install_github("federicomarini/pcaExplorer") ``` ## Quick start This command loads the `pcaExplorer` package ``` r library("pcaExplorer") ``` The `pcaExplorer` app can be launched in different modes: - `pcaExplorer(dds = dds, dst = dst)`, where `dds` is a `DESeqDataSet` object and `dst` is a `DESeqTransform` object, which were created during an existing session for the analysis of an RNA-seq dataset with the `DESeq2` package - `pcaExplorer(dds = dds)`, where `dds` is a `DESeqDataSet` object. The `dst` object is automatically computed upon launch. - `pcaExplorer(countmatrix = countmatrix, coldata = coldata)`, where `countmatrix` is a count matrix, generated after assigning reads to features such as genes via tools such as `HTSeq-count` or `featureCounts`, and `coldata` is a data frame containing the experimental covariates of the experiments, such as condition, tissue, cell line, run batch and so on. - `pcaExplorer()`, and then subsequently uploading the count matrix and the covariates data frame through the user interface. These files need to be formatted as tab separated files, which is a common format for storing such count values. Additional parameters and objects that can be provided to the main `pcaExplorer` function are: - `pca2go`, which is an object created by the `pca2go` function, which scans the genes with high loadings in each principal component and each direction, and looks for functions (such as GO Biological Processes) that are enriched above the background. The offline `pca2go` function is based on the routines and algorithms of the `topGO` package, but as an alternative, this object can be computed live during the execution of the app exploiting the `goana` function, provided by the `limma` package. Although this likely provides more general (and probably less informative) functions, it is a good compromise for obtaining a further data interpretation. - `annotation`, a data frame object, with `row.names` as gene identifiers (e.g. ENSEMBL ids) identical to the row names of the count matrix or `dds` object, and an extra column `gene_name`, containing e.g. HGNC-based gene symbols. This can be used for making information extraction easier, as ENSEMBL ids (a usual choice when assigning reads to features) do not provide an immediate readout for which gene they refer to. This can be either passed as a parameter when launching the app, or also uploaded as a tab separated text file. ## Contact For additional details regarding the functions of **pcaExplorer**, please consult the documentation or write an email to [email protected]. ## Code of Conduct Please note that the pcaExplorer project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms. ### Bug reports/Issues/New features Please use https://github.com/federicomarini/pcaExplorer/issues for reporting bugs, issues or for suggesting new features to be implemented.