colonyimages.jl
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.9%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: AndreasKuhn-ak
- License: mit
- Language: Jupyter Notebook
- Default Branch: master
- Size: 396 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 6
Metadata Files
README.md
ColonyImages
ColonyImages is a local Julia package for quantification of Trypanosoma colony images. It provides a set of functions to manipulate and analyze colony images. Additionally, it allows for the creation of artificial colony images that can be used as test data.
How to Use
To get started with ColonyImages.jl, follow these steps:
- Download the Repository: Clone or download the ColonyImages.jl repository from GitHub to your local machine.
bash
git clone https://github.com/AndreasKuhn-ak/ColonyImages.jl.git
2. Navigate to the Package Directory: Open a terminal and change directory to the ColonyImages.jl folder.
bash
cd ColonyImages
3. Activate the Julia Environment: Start Julia in the terminal and activate the package environment.
bash
julia
Within the Julia REPL, activate and instantiate the project:
julia
using Pkg
Pkg.activate(".")
Pkg.instantiate()
This sets up the environment with all necessary dependencies.
- Using ColonyImages.jl: Now, you can start using ColonyImages.jl in your Julia scripts or REPL.
julia using ColonyImagesYou're now ready to use the functions provided by ColonyImages.jl for analyzing and manipulating colony images. ## Features
Image Functions
The image_functions.jl file contains a variety of functions for processing and analyzing stacked tif images of Trypanosoma colonies. These functions provide the tools necessary to quantify and understand the growth patterns of these colonies.
One of the key functions in this file is angular_metric, which is inspired by the paper "Quantifying Two-Dimensional Filamentous and Invasive Growth Spatial Patterns in Yeast Colonies" by Binder et al. This function measures the angular distribution of a colony's growth, providing a quantitative measure of the colony's spatial pattern. It calculates an angular metric for a given image, where each element in the resulting vector represents the number of pixels in a certain angular sector of the image.
Here is an example of how to use this function:
```julia using ColonyImages using FileIO
Load a single image
img = load("pathtoyour_image.tif")
Make it binary
imgint = bw(img)
Define the center of the circle
center = centroid(img_int)
Calculate the angular metric
angularmetric = angularmetric(img_int, center) ```
This will return a vector where each element represents the number of pixels in a certain angular sector of the image. You can then use this vector to analyze the spatial distribution of the colony in the image.
Artificial Colony Creation
The artificial_colony_creation.jl file contains functions for creating artificial colony images. These images can be used as test data for the image functions.
Tutorial
To assist users in understanding how to utilize these functions, we have provided a Jupyter notebook titled Tutorial.ipynb. This notebook guides you through the process of analyzing test data using the functions in image_functions.jl and simulating colony growth using the functions from artificial_colony_creation.jl.
It offers a practical example of our workflow to analyze and compare preprocessed colony images with simulated colonies.
The image preprocessing of fluorescent colony images is automated in Fiji with a custom-written macro. We have also provided a tutorial (Fiji_tutorial.pdf) on how to use it, along with all necessary files in the fiji folder.
Documentation
You are not confined to using ColonyImages.jl in a specific way. All functions are documented and can be used independently or in any combination of your choice. To access the documentation, use the Julia macros @doc or our custom macro @h for a more nicely formatted output of the docstrings. Alternatively, you can find all the documentation on our GitHub pages.
Further Content
We have also provided all Jupyter notebooks (image import, colony simulation, analysis) together with their outputs, that were used to create our paper Quantification of Trypanosoma brucei social motility indicates different colony growth phases. These notebooks can be used if you wish to reproduce our results. However, they are not documented, so we highly recommend working through the tutorial.ipynb first to gain an understanding of the workflow and the package.
Contributing
Contributions to ColonyImages are very welcome! If you have a feature request, bug report, or proposal, please open an issue on the GitHub repository.
License
ColonyImages is licensed under the MIT license.
Software Requirements
All software & Julia packages and their respective versions are listed in the requirements.md file.
Owner
- Login: AndreasKuhn-ak
- Kind: user
- Repositories: 4
- Profile: https://github.com/AndreasKuhn-ak
GitHub Events
Total
- Release event: 1
- Push event: 3
- Create event: 1
Last Year
- Release event: 1
- Push event: 3
- Create event: 1
Dependencies
- actions/checkout v3 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite