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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file gssnng-0.5.0.tar.gz.

File metadata

  • Download URL: gssnng-0.5.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gssnng-0.5.0.tar.gz
Algorithm Hash digest
SHA256 359a9e219e5913bee7869139ae1f694f0431f9efe0f29885c7a85de1554c8dbd
MD5 1739af7fe518ac8eff6cae9f8b2ca9b4
BLAKE2b-256 223c97e51c72e15f1dfa6e448ce93c3088bda0dbd3acd93b9dabce2e53bee948

See more details on using hashes here.

File details

Details for the file gssnng-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: gssnng-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for gssnng-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62494317f37c2ba3ef289e74417b385ec31e627afa09c55848d1846697b0b5fa
MD5 e4c9bc46bfc582b55ddc222831e19088
BLAKE2b-256 350cd84ae53360628c08cae88b904a84f66bbea0ddf457a40e1b8d0a8f5c6699

See more details on using hashes here.

Supported by

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