The Probabilistic Mapping Extension is a Python package designed to facilitate the creation and analysis of probabilistic maps for voxel-based datasets. It provides tools to download experimental data, compute probabilistic maps, and perform optional density transcriptions and visualizations.
- Download experimental data for mapping workflows.
- Compute probabilistic maps in a structured sequence of steps.
- Optional transcription and visualization of voxel densities.
- Override specific regions for custom analyses.
To install and use this package, follow these steps:
-
Clone the Repository
Clone the repository to your local machine:git clone https://github.com/YannRoussel/probabilistic_mapping_extention.git cd probabilistic_mapping_extention
-
Install Dependencies
Install the required dependencies withpip
:pip install -r requirements.txt
-
Set Up the Package
Install the package locally using:pip install .
Navigate to the experimental_data
directory and run the scripts provided to download the necessary experimental data:
cd experimental_data
# Run the appropriate script(s)
Sequentially execute the scripts in the probability_map
directory:
-
Align T-types:
python t_type_alignement.py
-
Compute the probabilistic ME-T map:
python compute_p_me_t.py
-
Extend the ME-T map:
python extend_p_me_t.py
-
Transcribe T-types to ME-types
Use thedens_app/transcribe_t_types_to_me_types.ipynb
Jupyter notebook to convert T-type densities (from another package) into ME-type densities. -
Visualize Results
Visualize the results using the following notebooks:dens_app/Validation_compute_m_type_gene_expressions.ipynb
dens_app/visualisation_multiproc.ipynb
Override certain ME-type densities using the special_region_override/densities_override.py
script:
python special_region_override/densities_override.py
Contributions are welcome! If you'd like to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix:
git checkout -b my-feature-branch
- Make your changes and commit them:
git commit -m "Add my feature"
- Push to your branch:
git push origin my-feature-branch
- Open a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for more details.
Special thanks to all contributors and collaborators who helped bring this project to life!