{ "info": { "author": "Olga Botvinnik", "author_email": "olga.botvinnik@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "![Anchor logo](https://raw.githubusercontent.com/YeoLab/anchor/master/logo/v1/logo.png)\n\n[![](https://img.shields.io/travis/YeoLab/anchor.svg)](https://travis-ci.org/YeoLab/anchor)[![](https://img.shields.io/pypi/v/anchor.svg)](https://pypi.python.org/pypi/anchor)[![codecov](https://codecov.io/gh/YeoLab/anchor/branch/master/graph/badge.svg)](https://codecov.io/gh/YeoLab/anchor)\n\n## What is `anchor`?\n\nAnchor is a python package to find unimodal, bimodal, and multimodal features in any data that is normalized between 0 and 1, for example alternative splicing or other percent-based units.\n\n* Free software: BSD license\n* Documentation: https://YeoLab.github.io/anchor\n\n## Installation\n\nTo install `anchor`, we recommend using the\n[Anaconda Python Distribution](http://anaconda.org/) and creating an\nenvironment, so the `anchor` code and dependencies don't interfere with\nanything else. Here is the command to create an environment:\n\n\n```\nconda create -n anchor-env pandas scipy numpy matplotlib seaborn\n```\n\n### Stable (recommended)\n\n\nTo install this code from the Python Package Index, you'll need to specify ``anchor-bio`` (``anchor`` was already taken - boo).\n\n```\npip install anchor-bio\n```\n\n### Bleeding-edge (for the brave)\n\nIf you want the latest and greatest version, clone this github repository and use `pip` to install\n\n```\ngit clone git@github.com:YeoLab/anchor\ncd anchor\npip install . # The \".\" means \"install *this*, the folder where I am now\"\n```\n\n\n## Usage\n\n`anchor` was structured like `scikit-learn`, where if you want the \"final\nanswer\" of your estimator, you use `fit_transform()`, but if you want to see the\nintermediates, you use `fit()`.\n\nIf you want the modality assignments for your data, first make sure that you\nhave a `pandas.DataFrame`, here it is called `data`, in the format (samples,\nfeatures). This uses a log2 Bayes Factor cutoff of 5, and the default Beta\ndistribution parameterizations (shown [here]())\n\n```python\nimport anchor\n\nbm = anchor.BayesianModalities()\nmodalities = bm.fit_transform(data)\n```\n\nIf you want to see all the intermediate Bayes factors, then you can do:\n\n```python\nimport anchor\n\nbm = anchor.BayesianModalities()\nbayes_factors = bm.fit(data)\n```\n\n\n## History\n\n### 1.1.1 (2017-06-29)\n\n- In `infotheory.binify`, round the decimal numbers before they are written as strings\n\n### 1.0.1 (2017-06-28)\n\n- Documentation and build fixes\n\n### 1.0.0 (2017-06-28)\n\n* Updated to Python 3.5, 3.6\n\n### 0.1.0 (2015-07-08)\n\n* First release on PyPI.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/YeoLab/anchor", "keywords": "anchor", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "anchor-bio", "package_url": "https://pypi.org/project/anchor-bio/", "platform": "", "project_url": "https://pypi.org/project/anchor-bio/", "project_urls": { "Homepage": "https://github.com/YeoLab/anchor" }, "release_url": "https://pypi.org/project/anchor-bio/1.1.1/", "requires_dist": null, "requires_python": "", "summary": "Anchor is a python package to estimate modality of splicing, percent methylated, any data that is normalized between 0 and 1", "version": "1.1.1" }, "last_serial": 2987682, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0811f472af2a308ee6858d5e9b5888ae", "sha256": "6905d4934dce1254d8bafb6a1753321e8e393828f3f204ef6e2522faade12cc9" }, "downloads": -1, "filename": "anchor-bio-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0811f472af2a308ee6858d5e9b5888ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24385, "upload_time": "2016-07-14T23:31:01", "url": "https://files.pythonhosted.org/packages/90/3c/af49475fffea54fb4f6269469cb49d05d97d00422497bed27050cb5d151e/anchor-bio-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "e91cc963a6e65fb9c5227de054c20197", "sha256": "4de45805ad829b93cd523c6db16b93a70e604318742170d98e341d92c694c662" }, "downloads": -1, "filename": "anchor-bio-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e91cc963a6e65fb9c5227de054c20197", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15826, "upload_time": "2017-06-29T03:36:48", "url": "https://files.pythonhosted.org/packages/ae/ac/64485e376ae2d23ef818bad15af32cd1a369c0dfe6067867deafe15af0d2/anchor-bio-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "7a3d2f70028d70a387a56bb97f826888", "sha256": "569a541f494785a44077bbc572e6b16268a77665734894797141539cb34a0c07" }, "downloads": -1, "filename": "anchor-bio-1.0.1.tar.gz", "has_sig": false, "md5_digest": "7a3d2f70028d70a387a56bb97f826888", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17451, "upload_time": "2017-06-29T04:21:42", "url": "https://files.pythonhosted.org/packages/54/4a/7ac55290bf55fc1a29faba552e78ed020b58772634d410f61d5b4e6bbf00/anchor-bio-1.0.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "1e99cc92613426d45d2cc87c70006323", "sha256": "27361fea80ffdeb4220b12dbde1c74baf22e208871d4056831387b2f78ac73f4" }, "downloads": -1, "filename": "anchor-bio-1.1.1.tar.gz", "has_sig": false, "md5_digest": "1e99cc92613426d45d2cc87c70006323", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17590, "upload_time": "2017-06-29T14:38:59", "url": "https://files.pythonhosted.org/packages/3e/41/90cfb87bed69623713acedb6659a842185549bbbc717d3537277e0885352/anchor-bio-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e99cc92613426d45d2cc87c70006323", "sha256": "27361fea80ffdeb4220b12dbde1c74baf22e208871d4056831387b2f78ac73f4" }, "downloads": -1, "filename": "anchor-bio-1.1.1.tar.gz", "has_sig": false, "md5_digest": "1e99cc92613426d45d2cc87c70006323", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17590, "upload_time": "2017-06-29T14:38:59", "url": "https://files.pythonhosted.org/packages/3e/41/90cfb87bed69623713acedb6659a842185549bbbc717d3537277e0885352/anchor-bio-1.1.1.tar.gz" } ] }