Skip to main content

Single-cell analysis using Multiple Kernel Learning

Reason this release was yanked:

If using python > 3.12, install will fail

Project description


Single-cell analysis using Multiple Kernel Learning, scMKL, is a binary classification algorithm utilizing prior information to group features to enhance classification and aid understanding of distinguishing features in multi-omic data sets.

Installation with pip

First, create a virtual environment with a version of python >= 3.11.1.

Then, install scMKL with:

# activate your new env with python>=3.11.1
pip install scmkl

If wheels do not build correctly, ensure gcc and g++ are installed. They can be installed with sudo apt install gcc and sudo apt-get install g++.

Usage

scMKL takes advantage of AnnData objects and can be implemented with just four pieces of data:

  1. scRNA and/or scATAC matrices (can be scipy.sparse matrix)
  2. An array of cell labels
  3. An array of feature names (eg. gene symbols for RNA or peaks for ATAC)
  4. A grouping dictionary where {'group_1' : [feature_5, feature_16], 'group_2' : [feature_1, feature_4, feature_9]}

For more information on formatting/creating the grouping dictionaries, see our example for creating an RNA grouping or ATAC grouping.

For implementing scMKL, see our examples for your use case in examples.

Links

Repo: GitHub Repository

PyPI: Python Package Repository

Citation

If you use scMKL in your research, please cite using:

To be determined

Our Shiny for Python application for viewing data produced from this work can be found here: scMKL_analysis

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

scmkl-0.1.2.tar.gz (33.1 kB view details)

Uploaded Source

File details

Details for the file scmkl-0.1.2.tar.gz.

File metadata

  • Download URL: scmkl-0.1.2.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for scmkl-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e1e4b8d93abb3fdf1378ce5da162a45e93bea71d4f6ab6d5edfb96b6982ba43e
MD5 62e2bb1685a2448c5e2fdfaf59fe52ac
BLAKE2b-256 c7b13d81daf9f77691a7cf2cdcfbb6919466915cec2f16ebf7c19e7239336fe5

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