Skip to main content

Robust Aitchison compositional biplots from sparse count data

Project description

Build Status Coverage Status

DEICODE is a tool box for running Robust Aitchison PCA on sparse compositional omics datasets, linking specific features to beta-diversity ordination.

Installation

To install the most up to date version of deicode, run the following command

# pip (only supported for QIIME2 >= 2018.8)
pip install deicode

# conda (only supported for QIIME2 >= 2019.1)
conda install -c conda-forge deicode 

Note: that deicode is not compatible with python 2, and is compatible with Python 3.4 or later. deicode is currently in alpha. We are actively developing it, and backward-incompatible interface changes may arise.

Using DEICODE as a standalone tool

$ deicode --help
Usage: deicode [OPTIONS]

  Runs RPCA with an rclr preprocessing step.

Options:
  --in-biom TEXT               Input table in biom format.  [required]
  --output-dir TEXT            Location of output files.  [required]
  --n_components INTEGER       The underlying low-rank structure (suggested: 1
                               < rank < 10) [minimum 2]  [default: 3]
  --min-sample-count INTEGER   Minimum sum cutoff of sample across all
                               features  [default: 500]
  --min-feature-count INTEGER  Minimum sum cutoff of features across all
                               samples  [default: 10]
  --max_iterations INTEGER         The number of iterations to optimize the
                               solution (suggested to be below 100; beware of
                               overfitting) [minimum 1]  [default: 5]
  --help                       Show this message and exit.

Using DEICODE inside QIIME 2

  • The QIIME2 forum tutorial can be found here.
  • The official plugin docs and tutorial can be found here.
  • The in-repo tutorial can be found here.

Other Resources

  • The code for OptSpace was translated to python from a MATLAB package maintained by Sewoong Oh (UIUC).
  • Transforms and PCoA : Scikit-bio
  • Data For Examples : Qiita

Simulation and Benchmarking

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

deicode-0.2.3.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

deicode-0.2.3-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file deicode-0.2.3.tar.gz.

File metadata

  • Download URL: deicode-0.2.3.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.8

File hashes

Hashes for deicode-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e6c52b2fa5d9a5ddc740321e7a40d596fea2a86437bdbc48490f75f15fb10a9f
MD5 2e3968cece522830d5067b98daf49d66
BLAKE2b-256 cce617fd453509c68070c26fa96a2a59a318f51d2309d8649a264db3451f3ead

See more details on using hashes here.

File details

Details for the file deicode-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: deicode-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.8

File hashes

Hashes for deicode-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3428e2c60747b02338084d0e6f1dc8e30eefb04281e31d32def92fcf87e6c451
MD5 5c2f4d6cd9d28bb5fbdd63987f9cf4d7
BLAKE2b-256 f38ecb6758692412e54ec571ac1c613e64c0d5586588a4a71e6d7c0abc6f1cf9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page