This repository contains MATLAB scripts for visualizing ablated cell data. The pipeline calculates ablated voxels, merges datasets across subjects, and generates density map visualizations.
The analysis is split into two main workflows. Scripts should be executed in the exact order listed below.
-
CountAblatedCells_Script.m- Description: Counts the number of voxels in the ablated region for each subject.
- Outputs: A
.csvfile for each fish containing the voxel counts.- Two binary
.tiffiles corresponding to the areas of interest (pre- and post-ablation).
- Two binary
-
mergeCSV.m- Description: Scans each fish folder and merges all individual
.csvfiles into a single.csvfile.
- Description: Scans each fish folder and merges all individual
-
makeplots.m- Description: Visualizes the voxel data before and after ablation. Generates plots for all fish aggregated together, as well as separate plots for individual fish.
-
IdentifyAblation.m- Description: Makes a density map for the targeted ablation area.
-
heatmap.m- Description: Processes the density map data to render a heatmap, allowing for a better visual display of the ablation distribution.