https://github.com/marcomusy/fearlesshearts
shape interpolation algorithm
https://github.com/marcomusy/fearlesshearts
Last synced: 8 months ago
JSON representation
shape interpolation algorithm
- Host: GitHub
- URL: https://github.com/marcomusy/fearlesshearts
- Owner: marcomusy
- License: mit
- Created: 2020-09-27T15:51:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-02T10:51:42.000Z (about 4 years ago)
- Last Synced: 2025-04-07T13:21:12.265Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 4.54 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Fearless Hearts
Create a continuous timecourse for the heart development starting from a limited number of samples acquired at different timepoints.
The algorithm is completely general and can be applied to any dataset.
## Datasets
All the data can be dowloaded from --> https://www.ebi.ac.uk/biostudies/studies/S-BIAD441 (folder `/hearts/`).
## Pipeline
Follow the pipeline steps below to reproduce the analysis results.
#### `python 0__compress_data.py`
- _Description:_ can be skipped as data is ready for use. Only here for reference.

---
#### `python 1__manually_align.py`
- _Description:_ manually adjust alignment of different heart samples to a common frame

---
#### `python 2a_make_histos.py`
- _Description:_ make some histograms of the scalar along some ray


---
#### `python 2b_probe_vol.py`
- _Description:_ more visualizations of the volume probing

---
#### `python 3__generate_rays.py`
- _Description:_ probe volume and save a polydata which is a cloud of point. Files are produced to the local path. They can be visualized with command e.g.:
`vedo -n -p 5 -a 0.02 -c w -x1 *2425*.vtk`. If all looks OK move files to `data/wt` or `data/ko`.

---
#### `python 4a_expand_plot.py`
- _Description:_ plot scalar values on a specific radius shell for test:

---
#### `python 4b_clm_plot.py`
- _Description:_ plot the spherical harmonics expansion for the above test:

---
#### `python 5__write_clm.py`
- _Description:_ generate and save a numpy array `clm_data.npy` with the `Clm` spherical harmonic coefficients for all the time points

---
#### `python 6__plot_splined_clm.py`
- _Description:_ make 50 plots of the spherical harm coefficients visualizing the time variable for each one. Pressing return takes to the next radial shell.

---
#### `python 7a_plot_six_clouds.py`
- _Description:_ plot now for each time point the reconstructed point clouds (using the sph coefficients) with a threshold to cut off points that are below some value

---
#### `python 7b_interp_clouds.py`
- _Description:_ interpolate the above time points to generate a continous (small stepped) time course. Interpolation is done by splining all the `Clm` coefficients.

---
#### `python 8a_write_volumes.py`
- _Description:_ generate as many volumes as the nr of interpolated point clouds. Points in space are spatially interpolated onto the regular grid of a Volume object (made of voxels). Isosurfaces are also generated (for 3 different thresholds):

---
#### `python 8b_write_scaled_isos.py`
- _Description:_ build isosurfaces for all the generated volumes using some threshold value. The absolute size is also recovered from a fit of the original sizes, to take into account the biological growth of the tissues


## References
Ten years ago, a population of cardiac progenitor cells was identified
in pharyngeal mesoderm that gives rise to a major part of the amniote heart.
These multipotent progenitor cells, termed the second heart field (SHF),
contribute progressively to the poles of the elongating heart tube during
looping morphogenesis, giving rise to myocardium, smooth muscle, and endothelial cells.
_Arid3b_, a member of the conserved ARID family of transcription
factors, is essential for mouse embryonic development but its precise
roles are poorly understood.
_Arid3b_ is expressed in the myocardium of the tubular heart and in second heart field
progenitors.
_Arid3b_-deficient embryos show cardiac abnormalities,
including a notable shortening of the poles, absence of myocardial
differentiation and altered patterning of the atrioventricular canal,
which also lacks epithelial-to-mesenchymal transition.
Proliferation and death of progenitors as well as early patterning of the heart
appear normal.
_Arid3b_ is thus required for heart development by regulating
the motility and differentiation of heart progenitors. These findings
identify Arid3b as a candidate gene involved in the aetiology of human
congenital malformations.
- _[“Arid3b is essential for second heart field cell deployment and heart patterning”](https://dev.biologists.org/content/141/21/4168)_, J.J. Sanz-Esquerro et al., Development (2014) 141, 4168-4181 doi:10.1242/dev.109918
- [The second heart field](https://pubmed.ncbi.nlm.nih.gov/22449840/)
- [Heart Development (wikipedia)](https://en.wikipedia.org/wiki/Heart_development).
[](https://github.com/marcomusy/vedo)
