{ "info": { "author": "Xikang Feng", "author_email": "xikanfeng2@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# I-Impute: a coherent strategy to impute singlecell RNA sequencing data\n\nI-Impute is a coherent method to impute scRNA-seq data. I-Impute leverages continuous similarities and dropout probabilities and refines the data iteratively to make the final outputself-consistent. I-Impute exhibits robust imputation ability and follows the coherent principle. It offers perspicacity to uncover the underlying cell subtypes in real scRNA-Seq data.\n\n## Pre-requirements\n* python3\n* numpy>=1.16.1\n* pandas>=0.23.4,<0.24\n* scipy>=1.3.0\n* scikit-learn>=0.21.1\n* tasklogger>=0.4.0\n\n### install requirements\n```Bash\npip install -r requirements.txt\n```\n\n## Installation\n\n### Installation with pip\nTo install with pip, run the following from a terminal:\n```Bash\npip install i-impute\n```\n\n### Installation from Github\nTo clone the repository and install manually, run the following from a terminal:\n```Bash\ngit clone https://github.com/xikanfeng2/I-Impute.git\ncd I-Impute\npython setup.py install\n```\n\n## Usage\n\n### Quick start\nThe following code runs MAGIC on simulation data located in the I-Impute repository.\n\n```Python\nimport iimpute\nimport pandas as pd\n\n# read your reads count or RPKM or TPM data\ndata = pd.read_csv('simluation-data/sim-counts.csv', index_col=0)\n\n# create I-Impute object\niimpute_operator = iimpute.IImpute(normalize=False)\n\n# impute\nimputed_data = iimpute_operator.impute(data)\n\n# store result to a file\nimputed_data.to_csv('your file name')\n\n# iterative mode\niimpute_operator = iimpute.IImpute(normalize=False, iteration=True)\n\n# impute\nimputed_data = iimpute_operator.impute(data)\n\n# store result to a file\nimputed_data.to_csv('your file name')\n```\n\n### Parameters\n```Python\nIImpute(n=20, c_drop=0.5, p_pca=0.4, alpha=0.01, normalize=True, iteration=False, verbose=1)\n```\nParameters\n\n* n : int, optional, default: 20\n\n The nth of nearest neighbors on which to build kernel when calculating affinity matrix.\n\n* c_drop : float, optional, default: 0.5\n\n Dropout event cutoff. For entry whose dropout probability is less than c_drop, we consider it as a real observation, its original value will remain. Otherwise, we conduct the imputation with the aid of information from similar cells.\n\n* p_pca : float, optional, default: 0.4\n\n Percentage of variance explained by the selected components of PCA. It determines the nmumber of PCs used to calculate the distance between cells.\n\n* alpha : float, optional, default: 0.01\n\n L1 penalty for Lasso regression.\n\n* normalize : boolean, optional, default: True\n\n By default, I-Impute takes in an unnormalized matrix and performs library size normalization during the denoising step. However, if your data is already normalized or normalization is not desired, you can set normalize=False.\n\n* iteration : boolean, optional, default: False\n\n The imputation process only performs once when False (it is equivalent to C-Impute described in our paper). The imputation process will iterate n times to achieve self-constistent imputation matrix.\n\n* verbose : `int` or `boolean`, optional, default: 1\n\n If `True` or `> 0`, print status messages\n\n## Cite us\nTBD\n\n## Help\nIf you have any questions or require assistance using I-Impute, please contact us with xikanfeng2@gmail.com.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/xikanfeng2/I-Impute", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "i-impute", "package_url": "https://pypi.org/project/i-impute/", "platform": "", "project_url": "https://pypi.org/project/i-impute/", "project_urls": { "Homepage": "https://github.com/xikanfeng2/I-Impute" }, "release_url": "https://pypi.org/project/i-impute/1.0.3/", "requires_dist": null, "requires_python": "", "summary": "I-Impute: a coherent strategy to impute singlecell RNA sequencing data", "version": "1.0.3" }, "last_serial": 5740861, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "9204f6c568c7fd14308eb04fe097db54", "sha256": "74cb703e95e0dc6998cb403385d2c1274247cfa9cc0b746abbb739d945df83a2" }, "downloads": -1, "filename": "i_impute-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "9204f6c568c7fd14308eb04fe097db54", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8235, "upload_time": "2019-08-22T04:06:01", "url": "https://files.pythonhosted.org/packages/22/0e/1a57f4fdac0cce4e9e4b224b484cdcd735f9afc51a1678ee11b1827dc27a/i_impute-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e2ce48b45d370d775b2be22e88a7f43", "sha256": "6f0be58675dfd8ea0e732a350b1e5a154d3e782e7d46d5b7fb778b81ec4e8b69" }, "downloads": -1, "filename": "i-impute-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7e2ce48b45d370d775b2be22e88a7f43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7100, "upload_time": "2019-08-22T04:06:03", "url": "https://files.pythonhosted.org/packages/60/59/dc7f8dfb0cb5ac4431236c90c19ed5c0768c19b6b436302b51b44ce220b6/i-impute-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "55ecc6308272eeb3fc3fea31f8e7fd9a", "sha256": "64757095e92a4f29de3cf3c11b9f331255a8d43d5aa0efdd4f0ceabbcc16cf71" }, "downloads": -1, "filename": "i_impute-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "55ecc6308272eeb3fc3fea31f8e7fd9a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8243, "upload_time": "2019-08-26T07:48:13", "url": "https://files.pythonhosted.org/packages/c5/0a/f6d8e091aca2681966d60e292cdb98f354f07cb345322cc214466196785b/i_impute-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74cb4188ef98aa37a7b8dc6161ac8b6b", "sha256": "690406c5deb99f6d276c6ed06149e43db99a86fdb880d273cbf8839ac6b7bb06" }, "downloads": -1, "filename": "i-impute-1.0.2.tar.gz", "has_sig": false, "md5_digest": "74cb4188ef98aa37a7b8dc6161ac8b6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7113, "upload_time": "2019-08-26T07:48:15", "url": "https://files.pythonhosted.org/packages/c5/2e/96036b3bb67264995ac8f529deec15f1de49fadf127879cebf6d2ff508cb/i-impute-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d8800a363a612c4ebf32762a045cec69", "sha256": "de5d34317fdb6d7d493766f9d522ca99fdabf7b126d57985b3870a2031571016" }, "downloads": -1, "filename": "i_impute-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d8800a363a612c4ebf32762a045cec69", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8243, "upload_time": "2019-08-28T06:14:43", "url": "https://files.pythonhosted.org/packages/f3/20/9da730f38a082d6295ba9440b6669ccde984ef4189f27d88054efb2eacae/i_impute-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "007e97afde9c816205a9d064d3ced285", "sha256": "5f6ddef633e6bcbaa8f430b8f5de03d04f1e55631560ec61570c61c0faab639c" }, "downloads": -1, "filename": "i-impute-1.0.3.tar.gz", "has_sig": false, "md5_digest": "007e97afde9c816205a9d064d3ced285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7114, "upload_time": "2019-08-28T06:14:45", "url": "https://files.pythonhosted.org/packages/4a/01/ff285671bc06196801c4366ebfffc55d7fd761de4e1e1ecad372a7830d3b/i-impute-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d8800a363a612c4ebf32762a045cec69", "sha256": "de5d34317fdb6d7d493766f9d522ca99fdabf7b126d57985b3870a2031571016" }, "downloads": -1, "filename": "i_impute-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d8800a363a612c4ebf32762a045cec69", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8243, "upload_time": "2019-08-28T06:14:43", "url": "https://files.pythonhosted.org/packages/f3/20/9da730f38a082d6295ba9440b6669ccde984ef4189f27d88054efb2eacae/i_impute-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "007e97afde9c816205a9d064d3ced285", "sha256": "5f6ddef633e6bcbaa8f430b8f5de03d04f1e55631560ec61570c61c0faab639c" }, "downloads": -1, "filename": "i-impute-1.0.3.tar.gz", "has_sig": false, "md5_digest": "007e97afde9c816205a9d064d3ced285", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7114, "upload_time": "2019-08-28T06:14:45", "url": "https://files.pythonhosted.org/packages/4a/01/ff285671bc06196801c4366ebfffc55d7fd761de4e1e1ecad372a7830d3b/i-impute-1.0.3.tar.gz" } ] }