File size: 2,298 Bytes
109b062
4f5e84b
 
 
 
109b062
 
 
 
 
 
40fc39c
cfe4f3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40fc39c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: Lineage Population
emoji: 💻
colorFrom: green
colorTo: yellow
sdk: streamlit
sdk_version: 1.17.0
app_file: app.py
pinned: false
---

# Devolearn_Lineag_population_huggingface_spaces
# elegant-embryos

This repository contains work surrounding DevoLearn models and metadata extraction from the _C. elegans_ embryo. 


[![Binder](https://camo.githubusercontent.com/bfeb5472ee3df9b7c63ea3b260dc0c679be90b97/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656e6465722d6e627669657765722d6f72616e67652e7376673f636f6c6f72423d66333736323626636f6c6f72413d346434643464)](https://nbviewer.jupyter.org/github/Mainakdeb/elegant-embryos/)


### [Exploring Spatial distribution of cells in C. elegans embryo Using 3D Interactive Plots](explore_cell_movement_data.ipynb)
The EPIC dataset contains time series data surrounding the embryogenesis of the C. elegans embryo. I had to Extract the X, Y, Z coordinates of each cell (of all lineages), extract the timestamps of each cell in sequence, using which I generated the following plots.

1. A plot showcasing cell positions through time. 

<img src="/image/3d_plot_rotate_zoom_1.gif" width=300/> <img src="/image/3d_plot_timelapse_1.gif" width=285/>


2. Visualizing single cell movement through time. This example shows the movement of the cell of lineage 'Dpa' through time.

<img src="/image/Dpa_-9_track_compressed.gif" width=285/> <img src="/image/Dpa_-9_track_zoom_compressed.gif" width=285/>

Gaining insights from static plots can be difficult at times, this is where these interactive plots can help by enabling users to rotate, zoom, animate plots (with respect to time), rather than being stuck with just one point of time and perspective.

### [Post Processing outputs from the DevoLearn lineage population model](post_process_lineage_population_model.ipynb)
Post processing algorithms modify the outputs from the neural-network in order to further increase the accuracy of the predictions. I implemented a post processing algorithm on the lineage population model from DevoLearn, which exploits an inherent pattern in the data and modifies the model outputs accordingly, resulting in better accuracy (about 30% less loss) as highlighted in figure below.

<img src="/image/postprocess_lineage_population_1.png" width=800 />