Skip to main content

cell type annotation in single-cell RNA sequencing data using marker genes

Project description

CellTypeMark

CellTypeMark is a Python package for cell type annotation in single-cell RNA sequencing data using marker genes. It provides tools for scoring and annotating cell types based on predefined marker gene sets.

Features

  • Score cell types using marker genes (using scanpy score_genes)
  • Automatic cell type annotation based on marker gene expression
  • Visualization of cell type annotations
  • Integration with Scanpy and AnnData objects
  • Support for custom marker gene sets

Installation

pip install celltypemark

Usage

import scanpy as sc
import celltypemark as ctm

# Load your AnnData object
adata = sc.read_h5ad("your_data.h5ad")

# Score cell types using marker genes
adata = ctm.score(adata, ctm.marker_genes)

# Annotate cell types
adata = ctm.mark(adata, ctm.marker_genes, by='leiden', save='results', plot=True)

Dependencies

  • scanpy

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Citation

If you use CellTypeMark in your research, please cite:

@software{celltypemark2024,
  author = {brainfo},
  title = {CellTypeMark: A Python package for cell type annotation in single-cell RNA sequencing data},
  year = {2024},
  publisher = {GitHub},
  url = {https://github.com/yourusername/celltypemark}
}

Copyright (c) 2024

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

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

celltypemark-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

celltypemark-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file celltypemark-0.1.0.tar.gz.

File metadata

  • Download URL: celltypemark-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for celltypemark-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7285ea9933c643b25bdf81ffcf8b5d1ac763bcc9f98a4d8b197d928e8e8e09c3
MD5 70ce071a2968c9a833aeded2939c3503
BLAKE2b-256 8093d6e385f423808267a57bbef034b15ba913f08ebfc8d36745f8cfbfd9d79e

See more details on using hashes here.

File details

Details for the file celltypemark-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for celltypemark-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97160acf79e3f206fd26e9e5e7cfd6ce416de1742a5d6bc73f67247a5be843c6
MD5 6661f0d317df463c5df4e1a619bcdb7d
BLAKE2b-256 395be247687519c435743e0e5de5a592e99de3524a5db4110afa4f248296115d

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