{ "info": { "author": "Jason L Weirather", "author_email": "jason.weirather@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Topic :: Scientific/Engineering :: Bio-Informatics" ], "description": "# pythologist-test-images\n\nImages for use in unit tests etc.\n\nList available datasets:\n\n```python\nfrom pythologist_test_images import TestImages\n\nprint(TestImages().datasets)\n```\n\n> ['IrisSpatialFeatures', 'Small', 'Tiny']\n\nget a path pointing to the dataset\n\n```python\npath = TestImages().raw('IrisSpatialFeatures')\nprint(path)\n```\n> '/Source/pythologist-test-images/data/IrisSpatialFeatures/Example'\n\nget a CellDataFrame pythologist object (requires pythologistreader and pythologist `pip install pythologist-test-images[h5]`)\n\n```python\ncdf = TestImages().celldataframe('Tiny')\ntdf = cdf.threshold('T-CELL','PD1').threshold('OTHER','PDL1').threshold('TUMOR','PDL1')\ntdf.loc[tdf['sample_name'].str.contains('I'),'project_name'] = 'SlideModelInfiltrated'\ntdf.loc[tdf['sample_name'].str.contains('E'),'project_name'] = 'SlideModelExcluded'\ntdf.loc[tdf['sample_name'].str.contains('U'),'project_name'] = 'SlideModelUniform'\ntdf['project_id'] = tdf['project_name']\n(ggplot(cnts,aes(x='sample_name',y='mean_density_mm2',\n ymin='mean_density_mm2+stderr_density_mm2',\n ymax='mean_density_mm2-stderr_density_mm2',fill='project_name'))\n + geom_bar(stat='identity')\n + geom_errorbar()\n + facet_wrap('phenotype_label',scales='free_y')\n + theme_bw()\n + theme(panel_spacing_x=0.5)\n + theme(figure_size=(6,6))\n)\n```\n\n![Image of counts](https://github.com/jason-weirather/pythologist-test-images/raw/master/images/counts.png?raw=true)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jason-weirather/pythologist-test-images", "keywords": "bioinformatics", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "pythologist-test-images", "package_url": "https://pypi.org/project/pythologist-test-images/", "platform": "", "project_url": "https://pypi.org/project/pythologist-test-images/", "project_urls": { "Homepage": "https://github.com/jason-weirather/pythologist-test-images" }, "release_url": "https://pypi.org/project/pythologist-test-images/1.0.0/", "requires_dist": [ "pythologistreader ; extra == 'h5'", "pythologist ; extra == 'h5'" ], "requires_python": "", "summary": "Real and simulated data for testing image analysis software", "version": "1.0.0" }, "last_serial": 5139205, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e57570d2cd3a275149c0ed5d6fc1afe3", "sha256": "e3c7dc3f7addd73b538a9394c318c0f6c7636e617958422a570f02f3de0205bf" }, "downloads": -1, "filename": "pythologist_test_images-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e57570d2cd3a275149c0ed5d6fc1afe3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7595, "upload_time": "2019-04-13T21:24:29", "url": "https://files.pythonhosted.org/packages/66/03/ee1a7617468ac5bbbda785cc7afd729606837f1bc97161b6bbe83ee71422/pythologist_test_images-1.0.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e57570d2cd3a275149c0ed5d6fc1afe3", "sha256": "e3c7dc3f7addd73b538a9394c318c0f6c7636e617958422a570f02f3de0205bf" }, "downloads": -1, "filename": "pythologist_test_images-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e57570d2cd3a275149c0ed5d6fc1afe3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7595, "upload_time": "2019-04-13T21:24:29", "url": "https://files.pythonhosted.org/packages/66/03/ee1a7617468ac5bbbda785cc7afd729606837f1bc97161b6bbe83ee71422/pythologist_test_images-1.0.0-py3-none-any.whl" } ] }