Skip to main content

Gene Set Scoring on the Nearest Neighbor Graph (gssnng)

Project description

gssnng

Gene Set Scoring on the Nearest Neighbor Graph (gssnng) for Single Cell RNA-seq (scRNA-seq).

This package works with Scanpy AnnData objects stored as h5ad files.

  • Read the Docs!

  • Notebook using gmt files ===>>> Open In Colab

  • Notebook using Decoupler/Omnipath style API ===>>> Open In Colab

  • **Notebook for smoothing counts. COMING SOON! For now, see the example script in test.

  • See the paper ===>>> gssnng

The GSSNNG method is based on using the nearest neighbor graph of cells for data smoothing. This essentially creates mini-pseudobulk expression profiles for each cell, which can be scored by using single sample gene set scoring methods often associated with bulk RNA-seq.

Nearest neighbor graphs (NNG) are constructed based on user defined groups (see the 'groupby' parameter below). The defined groups can be processed in parallel, speeding up the calculations. For example, a NNG could be constructed within each cluster or jointly by cluster and sample. Smoothing can be performed using either the adjacency matrix (all 1s) or the weighted graph to give less weight to more distant cells.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gssnng-0.5.0.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

gssnng-0.5.0-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page