Skip to main content

A doublet detetion tool for scCAS data. https://github.com/Ying-Lab/scIBD

Project description

scIBD

scIBD is a doublet detection tool for scCAS data.

scIBD is totally produced by Python.

The depending packages used in scIBD can be installed by the command pip/pip3 install -r requirements.txt

Installation

pip install -r requirements.txt 
git clone git://github.com/Ying-Lab/scIBD
cd scIBD
python setup.py install

Running

import scibd as si
KNNITER = si.KNNIter(input)
result = KNNITER.IterCall()

Parameters

input: the AnnData; or the count matrix(numpy or scipy)

output:

if the input is an obeject of AnnData, the output is also an AnnData, the obs of returned AnnData adds two columns: obs['PredDBL'] is the predicted results where 1 indicates the predicted doublets and 0 indicates the singlets; obs['DBLscore'] is the doublet scores of all droplets.

if the input is the count matrix, the output are the idx of predicted doublets and the doublet scores of all droplets


other parameters:

exprate: The expected calling rate of doublets, default 0.1.

strategy: The KNN graphing strategy, scIBD can adaptively opt a KNN graphing strategy. Users can also manually set it as 'PCoA' or 'PCA'.

core: The number of threads, default is the max core number depending on the terminals.

sim_rate: The ratio of simulated doublets in each iteration, default is 0.3.

nPC: The number of used principal components, default is 5.

neighbors: The number of neighbors used to construct KNN graph, default is 40.

n_tree: The number of trees in KNN constrcution, default is 30.

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

scibd-1.2.0.tar.gz (14.4 kB view details)

Uploaded Source

File details

Details for the file scibd-1.2.0.tar.gz.

File metadata

  • Download URL: scibd-1.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for scibd-1.2.0.tar.gz
Algorithm Hash digest
SHA256 71d7282b7118603ae1d392d3983de081e8c41ee1dadbe18504b8c2543cade2e3
MD5 b6a9ecaaf97699a64f7409f8d48c82ad
BLAKE2b-256 c4f3afa989a9204bedbfb834b870008331474d603db138b4d74d1a9716b50898

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