Skip to main content

juzi

Project description

:tangerine: juzi

Various methods for analyzing cell states and types in single-cell sequencing data.

cell states (cs)

from juzi.cs.nmf import gaussian_nmf, poisson_nmf, fixed_poisson_nmf

# Vanilla NMF on normalized and log1p counts
W, H, losses = gaussian_nmf(
    data,
    n_factors=8,
    max_iter=100,
    lambda_H=1e-2,
    init="random",
    eps=1e-7
) 

# Poisson NMF on counts
W, H, losses = poisson_nmf(
    data,
    n_factors=8,
    max_iter=100,
    lambda_H=1e-2,
    init="nndsvd",
    eps=1e-7
)

# Vanilla NMF with fixed H
W, losses = fixed_gaussian_nmf(
    data,
    fixed_H=H,
    max_iter=100,
    init="random",
    eps=1e-7,
    silent=False
)

# Poisson NMF with fixed H
W, losses = fixed_poisson_nmf(
    data,
    fixed_H=H,
    max_iter=100,
    init="random",
    eps=1e-7,
    silent=False
)

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

juzi-0.0.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

juzi-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file juzi-0.0.2.tar.gz.

File metadata

  • Download URL: juzi-0.0.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for juzi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 163718b42f2f4ab31b40ee4cc57ef1d35fe6b603057ca7bbe4a40a3881a27f86
MD5 ec95a9a54f9707eeb296d3e0f2663a61
BLAKE2b-256 200b662191f27cf8ebb006590e20ddeb09a064bf1988df059cb713a0bd0e42dc

See more details on using hashes here.

File details

Details for the file juzi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: juzi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for juzi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a2f71671638bf68d3a7d8c77889eb88e943e4fd46b04a6f9e19d03973818edb
MD5 65a5de2c6fa66c7ddcb2bae4829a11f5
BLAKE2b-256 d93beb34ef8e5c4d74e7dd363044c9836e77eabea4e66c1e94f4546da7a5ede7

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