Skip to main content

Single Cell Protein Counts Denoising

Project description

scPDA: Denoising Protein Expression in Droplet-Based Single-Cell Data

scPDA is a VAE-based neural network for the task of denoising single-cell surface protein abundance measured by droplet-based technologies such as CITE-seq.

Unlike most currently established methods, scPDA does not require empty droplets. scPDA establishes a probabilistic model for raw count data, and shows a great computational efficiency.

Installation

pip install scpda

Main API

Below is an example that includes main APIs to train scPDA.

from scPDA import model

# please prepare the protein counts dsb_counts_tensor (torch.tensor) and the estimated background mean dsb_mu1_tensor (torch.tensor)
scPDA = model(raw_counts=dsb_counts_tensor, bg_mean=dsb_mu1_tensor)
scPDA.train()
scPDA.inference()

# The estimated mu1, mu2, theta1, theta2, pi (background probability) are returned
mu1 = scPDA.mu1
mu2 = scPDA.mu1 * scPDA.alpha
theta1 = scPDA.theta1
theta2 = scPDA.theta2
pi = scPDA.pi

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

scpda-0.2.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

scPDA-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file scpda-0.2.0.tar.gz.

File metadata

  • Download URL: scpda-0.2.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for scpda-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8ec927dfb78779653f2643ffb73ba4264122dc9c0c064bbc74f97ebcbf544311
MD5 0e4de00d70dd1ef473245aad69fa50df
BLAKE2b-256 26764da0654fb056d18c69437abe3f37ac487ea3d4f14aca7556c2845db2bcd9

See more details on using hashes here.

File details

Details for the file scPDA-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: scPDA-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for scPDA-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0eaa06e0644a17e857d0b2150ba1c9a9cc40236f540ac4a5ffe63e6927bcbc
MD5 213ed42ba936d76efb5420d5c8abe4dd
BLAKE2b-256 241631c364c4844f4ceb9636092b5dc0606a25f8947ff250032625fe0f20e1ca

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