Skip to contents

Pipelines

End-to-end entry points. tAge_preprocessing() returns the list of ExpressionSets that predict_tAge() consumes.

tAge_preprocessing()
Complete preprocessing pipeline for tAge analysis
predict_tAge()
Predict transcriptomic age for multiple processed ExpressionSet objects
predict_tAge_one()
Predict transcriptomic age using pre-trained models
tAge_by_group()
Run tAge pipeline separately per group factor (e.g., "tissue")

Clock catalogue

Browse the registry of pre-trained models and fetch them from Zenodo.

list_clocks()
List available transcriptomic clock models
download_clocks()
Download clock models from Zenodo

Preprocessing steps

The individual stages run by tAge_preprocessing(), for when you need a non-standard order or want to inspect an intermediate.

filter_genes()
Filter genes based on expression thresholds
map_genes()
Map genes in an ExpressionSet using local CSV mapping tables
RLE_normalization()
Perform RLE (Relative Log Expression) normalization
log_transform()
Apply log10 transformation to expression data
scale_eset()
Scale expression data to have zero mean and unit variance
YuGene()
Perform YuGene normalization
control_subtraction()
Subtract reference group median from expression data (relative expression)

Single-cell and pseudobulk

Pool single cells into pseudobulk samples, drop outliers, and move data in from Seurat or h5ad.

aggregate_pseudobulk()
Aggregate single-cell data into pseudobulk samples based on read coverage
aggregate_on_obs_columns()
Aggregate single-cell data into pseudobulk samples within obs column groups
pseudobulk_summary()
Get summary statistics for pseudobulk samples
remove_outliers()
Remove outlier pseudobulk samples using PCA-based Mahalanobis distance
load_h5ad_simple()
Load h5ad file using reticulate and anndata
load_h5ad_to_seurat()
Load AnnData h5ad file and convert to Seurat object
subset_seurat_by_metadata()
Subset Seurat object by metadata criteria

Plotting

tage_boxplot()
Box plot of tAge predictions with pairwise significance annotation
plot_eset_density()
Plot density curves for ExpressionSet data

Data and helpers

Build an ExpressionSet and reach the example data shipped with the package.

make_ExpressionSet()
Create ExpressionSet object from expression data and phenotype data
load_example_expression_data()
Load example expression data
load_example_metadata()
Load example metadata
load_gene_list()
Load gene list
get_package_data()
Get package data file paths
get_metadata_dir()
Get path to the package metadata directory