Skip to main content

Linear Analysis of Midgut

Project description

Linear Analysis of Midgut

---------------LAM---------------

Linear Analysis of Midgut (LAM) is a tool for reducing the dimensionality of microscopy image–obtained data, and for subsequent quantification of variables and object counts while preserving spatial context. LAM’s intended use is to analyze whole Drosophila melanogaster midguts or their sub-regions for phenotypical variation due to differing nutrition, altered genetics, etc. Key functionality is to provide statistical and comparative analysis of variables along the whole length of the midgut for multiple sample groups. Additionally, LAM has algorithms for the estimation of feature-to-feature nearest distances and for the detection of cell clusters, both of which also retain the regional context. LAM also approximates sample widths and can perform multivariate border-region detection on sample groups. The analysis is performed after image processing and object detection. Consequently, LAM requires coordinate data of the features as input.

Installation

LAM is used in Python >= 3.7 environment. You can install LAM from command line using the 'setup.py' by giving command: 'python setup.py install' while located inside the LAM-master -directory. Windows-users are recommended to install Shapely>=1.7.0 from a pre-compiled wheel found here in order to properly link GEOS and cython.

The distribution also includes docs/requirements.txt and docs/LAMenv.yml that can be used to install dependencies using pip or conda (Anaconda), respectively. Recommendation is to install LAM into its own virtual environment.

Usage

LAM is used by executing 'src/run.py', which by default opens up a graphical user interface. If installed through setup.py, console command 'lam-run' will also launch LAM. Settings are handled through src/settings.py, but LAM also includes argument parsing for most important settings ('python src/run.py -h' OR 'lam-run -h'). Refer to 'docs/UserManual' for additional information.

A video tutorial series on LAM can be found on YouTube here.

Hietakangas lab also provides a stitching script that uses ImageJ to properly stitch images for object detection and following LAM analysis. The script can be found here.

Test data

The 'data/'-directory includes a small test dataset of two sample groups with four samples each. Note that the sample number is not enough for a proper analysis; in ideal circumstances, it is recommended that each sample group should have >=10 samples. Refer to user-manual for additional information.

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details

Authors

Arto I. Viitanen - Hietakangas laboratory

Acknowledgments

Ville Hietakangas - Hietakangas laboratory

Jaakko Mattila - Mattila laboratory

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

LAM-0.4.1.tar.gz (795.4 kB view details)

Uploaded Source

File details

Details for the file LAM-0.4.1.tar.gz.

File metadata

  • Download URL: LAM-0.4.1.tar.gz
  • Upload date:
  • Size: 795.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for LAM-0.4.1.tar.gz
Algorithm Hash digest
SHA256 e8ac3cf6708488273698aef419377aae25d0ff8cb96abd658f46a980a8dc3f25
MD5 1aecdabe96ba8a814991533caeff555e
BLAKE2b-256 4eb219448a1f65edf0012ad833a15d505a71750f3cc251b7c27513037f350c09

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