Giter VIP home page Giter VIP logo

past's Introduction

PyPI Downloads Documentation Status

PAST: a Prior-based self-Attention method for Spatial Transcriptomics

Find more details and tutorials on the Documentation of PAST.

Overview

PAST software is build on a variational graph convolutional auto-encoder designed for spatial transcriptomics which integrates prior information with Bayesian neural network, captures spatial information with self-attention mechanism and enables scalable application with ripple walk sampler strategy. PAST could effectively characterize spatial domains and facilitate various downstream analysis through integrating spatial information and reference from various sources. Besides, PAST also enable time and memory-efficient application on large datasets while preserving global spatial patterns for better performance. Importantly, PAST could also facilitate accurate annotation of spatial domains and thus provide biological insights.

Getting Started

Installation

PAST is available on PyPI here and can be installed via

pip install bio-past

You can also install PAST from GitHub via

git clone https://github.com/lizhen18THU/PAST.git
cd PAST
python setup.py install

Dependency

numba   
numpy   
pandas   
scipy   
scikit-learn   
scanpy   
torch

These dependencies will be automatically installed along with PAST. To implement the mclust algorithm with python, the rpy2 package and the mclust package is needed. See rpy2 and mclust for detail.

Citation

Li, Z., Chen, X., Zhang, X., Chen, S., & Jiang, R. (2022). PAST: latent feature extraction with a Prior-based self-Attention framework for Spatial Transcriptomics. bioRxiv, 2022.11.09.515447. doi:10.1101/2022.11.09.515447

past's People

Contributors

lizhen18thu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.