README.md

RAPToR R package

RAPToR (Real Age Prediction from Transcriptome staging on Reference) is a tool to accurately predict the developmental age of individual samples from their gene expression profiles.

We stage samples on high-resolution references built from existing developmental profiling time-series. Inferred age can then be used in multiple ways to precisely estimate perturbations effects on developmental timing, increase power in differential expression analyses, estimate differential expression due to uncontrolled development and most importantly, to recover perturbation specific effects on gene expression even in the extreme scenario when the perturbation is completely confounded by development.

Please cite our paper if you use RAPToR in your research:

Installation

To install the latest version of RAPToR, run the following in your R console :

if (!requireNamespace("remotes", quietly = TRUE))
    install.packages("remotes")
remotes::install_github("LBMC/RAPToR", build_vignettes = T)

When dependencies are met, installation should take under 20 seconds.

Dependencies

Users can choose to install the RAPToR package dependencies manually from an R console:

# CRAN packages
install.packages(c("ica", "mgcv", "parallel", "data.table", "pryr", "beeswarm", "Rdpack", "R.rsp"))

# Bioconductor packages
if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("limma")

We also recommend to install the following packages used in RAPToR vignettes to download demo data:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install(c("GEOquery", "biomaRt"))

System requirements

We have verified RAPToR works with R v3.6.3, v4.1.1, and v4.1.2 on Unix (Ubuntu 18.04/20.04/22.04 LTS), Windows 10, and macOS (10.14) systems.

Standard datasets can easily run with 4Gb of RAM and 2 CPU cores. For reference, the GSE80157 (dsaeschimann2017) dataset used for demo in the main vignette (43 samples by ~19500 genes) can be both downloaded and staged with RAPToR in under 30 seconds, using less than 2Gb of RAM.

Getting started

You can access the package's main vignette from your R console with

library(RAPToR)

vignette("RAPToR")
# or
vignette("RAPToR-pdf")

How does it work ?

RAPToR is a 2-step process:

  1. A reference gene expression time-series is interpolated to build a near-continuous, high-temporal-resolution reference (a number of which are included in associated data-packages, see below).
  2. A correlation profile of each of your samples against this reference is dressed, and the timing of the correlation peak is the estimated age. Bootstrapping on genes then gives a confidence interval of the estimates.

tool_overview

What data can be used ?

The RAPToR package allows you to estimate the developmental age of individual samples from their gene expression profiles. This means that any method outputting information on gene expression on a large scale is appropriate : RNA-seq (preferably TPM), MicroArray...

Data must not be gene-centered, as this destroys the relationship between gene levels within a sample.

Current available data-packages

We recommend you get our data-packages with pre-built references of common organisms for quick & easy usage.

Update info

v1.2

Please also update reference data-packages to their latest version to work with this version of RAPToR

v1.1

v1.1.6 (used in Bulteau & Francesconi 2022 publication)

v1.1.5b

v1.1.5

Prior updates can be found in the NEWS file.



LBMC/wormAge documentation built on April 6, 2023, 3:52 a.m.