Skip to main content

Spatially-aware quality control for spatial transcriptomics

Project description

Spatially-aware quality control for spatial transcriptomics

SpotSweeper is a package developed for spatially-aware quality control (QC) methods for the detection, visualization, and removal of both local outliers and regional artifacts in spot-based spatial transcriptomics data, such as 10x Genomics Visium, using standard QC metrics.

Features

  • Detect local outliers using robust z-score

  • Plot and highlight local outliers in a spatial context

Installation

Install from PyPI:

pip install spotsweeper

Usage

import spotsweeper.local_outliers as lo
import spotsweeper.plot_QC as plot_QC
import spotsweeper.plot_QCpdf as pdf
lo.local_outliers(adata, metric = "total_counts", sample_key = "region")
plot_QC.plot_qc_metrics(adata,"region",metric = "total_counts", outliers="total_counts_outliers")
pdf.plot_qc_pdf(adata,"region",metric = "total_counts", outliers="total_counts_outliers")

Project Status

This package is in early development. Use with caution; interfaces may change. Tests haven’t been implemented and will be added in a future version.

Note

This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.

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

spotsweeper-0.1.3.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

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

spotsweeper-0.1.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file spotsweeper-0.1.3.tar.gz.

File metadata

  • Download URL: spotsweeper-0.1.3.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.14

File hashes

Hashes for spotsweeper-0.1.3.tar.gz
Algorithm Hash digest
SHA256 949309863e0954f3f0707a78b22bb8e04f7d45c334e849bd036097b6ec627bde
MD5 3cccfdfdcf5a769217ec726b3e2dca12
BLAKE2b-256 720714e738fa50876082412b7952b9d09ccfb8c50d8558498d9b14f83dc2a9b3

See more details on using hashes here.

File details

Details for the file spotsweeper-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: spotsweeper-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.14

File hashes

Hashes for spotsweeper-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0a389ba3ad2a7ed1124318538d28762f724c5b1c481e089af9d098b2c52e9ae0
MD5 8a8e0873c569a83f4c6314dc1eef9835
BLAKE2b-256 9d39c095ee077adb26a689cd36aa0815a3d9b062a1284e56deea98b4ab72e284

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