Skip to content

A tool for linear trajectory inference from single-cell RNA-seq data through discrete pseudotime estimation using Shortest HAmiltonian path PERmuted clustering.

Notifications You must be signed in to change notification settings

elolab/scshaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scShaper

A tool for linear trajectory inference from single-cell RNA-seq data through discrete pseudotime estimation using Shortest HAmiltonian path PERmuted clustering.

Description

scShaper is an R package implementing a new trajectory inference method, which enables accurate and fast linear trajectory inference from single-cell RNA-seq (scRNA-seq) data. The method is based on estimating discrete pseudotimes using shortest Hamiltonian path permuted clusterings. The clustering is performed using the k-means algorithm, and the result is permuted using a special case of Kruskal's algorithm. scShaper uses Principal Component Analysis (PCA) to analyze linear dependencies between the pseudotimes. Based on the PCA results, scShaper selects the pseudotimes that contribute most to the first princal component and builds an ensemble pseudotime based on these by flipping and averaging the selected pseudotimes. Finally, scShaper smooths the ensemble pseudotime using local regression (LOESS).

Installation

The easiest way to install scShaper is to use devtools R package.

devtools::install_github("elolab/scshaper")

Examples

The first example demonstrates scShaper using a simulated scRNA-seq dataset and integration with the dyno pipeline. This workflow is recommended if the user wants to use scShaper with scRNA-seq data.

The second example demonstrates scShaper with a simulated trigonometric dataset (3D spiral). This workflow is recommended if the user wants to use scShaper with other data types that require no dimensionality reduction.

Citation

Johannes Smolander. Sini Junttila. Mikko S. Venäläinen. Laura L. Elo. scShaper: an ensemble method for fast and accurate linear trajectory inference from single-cell RNA-seq data. Bioinformatics, 2021;, btab831. https://doi.org/10.1093/bioinformatics/btab831

About

A tool for linear trajectory inference from single-cell RNA-seq data through discrete pseudotime estimation using Shortest HAmiltonian path PERmuted clustering.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published