CNN architecture and dataset for estimating spatial gene expression patterns
Our model utilizes a CNN that takes a phase-contrast image as input and estimates a fluorescent image as output (Fig.1A). The typical input to a CNN is a two-dimensional (2D) image. This 2D image is passed through several convolution layers, each followed by a nonlinear activation function. The training parameters correspond to the weights of these convolution kernels and the biases. Our network has a U-Net-like architecture27, which is an encoder-decoder structure with skip connections. The embedded features from the encoder are passed through the decoder, which consists of upsampling and convolution layers to increase the resolution of the intermediate feature maps to obtain a fluorescent image as output.
In our model, the ResNet5028 was used as the backbone of the encoder. The size of the input image for the ResNet50 is (3times Htimes W). To use the pre-trained model of the ResNet50, gray-scale phase-contrast images were replicated in the axis of the channel to create three-channel images. At the first layer, a convolution with stride 2 is applied to the input image to generate features of size (64times frac{H}{2}times frac{W}{2}). The ResNet50 has 4 residual blocks and the size of the output features of these blocks are (256times frac{H}{4}times frac{W}{4}), (512times frac{H}{8}times frac{W}{8}), (1024times frac{H}{16}times frac{W}{16}), and (2048times frac{H}{32}times frac{W}{32}), respectively. These features are then concatenated to the decoder to exploit multi-scale information. The output of the decoder is a fluorescent image of size (1times frac{H}{2}times frac{W}{2}). Note that each convolution layer has a batch normalization (BN) layer and a rectified linear unit (ReLU) activation function, except for the final convolution layer, which has a sigmoid activation function to constrain the range of the output values between 0 and 1.
The network was optimized by minimizing the training loss computed on the output and corresponding ground-truth fluorescent images. The combination of mean squared error (MSE) and cosine similarity, which captures structural patterns from the entire image, was used as the training loss.
To train, validate, and test our model, we cultured retinal organoids derived from mouse ESCs using the SFEBq method10. In this culture, a GFP gene was knocked-in under the promoter of a master gene of retinal differentiation, Rax. Using this method, we obtained a dataset of a pair of phase-contrast image and fluorescent image of Rax during retinal differentiation (Fig.1B). Images were captured for 96 organoids at 4.5, 5, 6, 7, and 8days after the start of SFEBq, where each sample was captured as 14 Z-stack images. This resulted in a total of (96times 5times 14=6720) image pairs were obtained. These image pairs were divided into 5880, 420, and 420 samples for training, validation, and test, respectively. 84, 6, and 6 organoids were used for training, validation, and test, respectively; thus, each organoid does not appear in the different datasets. For data augmentation, we randomly flipped the input images vertically and horizontally during training. While the image resolution of both phase-contrast and fluorescent images is (960times 720), the (512times 512) regions where organoids appear were extracted.
To demonstrate our model, we applied it to 420 samples of the test data. As a result, the proposed model successfully estimated the spatial expression patterns of Rax from phase-contrast images during retinal organoid development (Fig.2). During development, multiple optic vesicles are formed through large and complicated deformations (Fig.2A). This process begins with a spherical embryonic body, with some portions of the tissue surface evaginating outward to form hemispherical vesicles, i.e., optic vesicles. Importantly, the resulting morphology of retinal organoids, especially optic vesicles, varies widely29. This process is known to be governed by the expression of the Rax gene (Fig.2B). That is, the Rax gene is gradually expressed in several parts of the tissue surface, so-called eye field, where cells differentiate from neuroepithelium into several types of retinal cells.
Estimated spatial Rax expression patterns during retinal organoid development. (A) Phase-contrast images from day 4.5 to day 8. (B) Captured fluorescent images of Rax as ground-truths. (C) Estimated fluorescent images with our model. (D) Error maps between captured and estimated images. The error metric was a squared error. The organoids in (AD) are identical. Scale bars indicate 200m.
Our model successfully recapitulated the above features of Rax expression (Fig.2C), i.e., the Rax intensity was relatively low and homogenous at days 4.5, 5, 6, and gradually increased around the evaginated tissue regions at days 7 and 8. Remarkably, the regions of high Rax expression were accurately estimated even in organoids with various morphologies. On the other hand, as the Rax intensity increases, especially around the evaginated tissue regions, the error of the estimated image from the ground-truth image increases with time (Fig.2D).
To quantitatively evaluate the accuracy of the estimation, we statistically analyzed the estimation results at each stage. To clarify whether the model can estimate Rax intensity in both samples with high and low Rax expression, each of the ground-truth and estimated fluorescence images was divided into two categories by the coefficient of variation of the foreground pixels in a fluorescent image at day 8 (Fig.3A). The samples in each group were labeled as positive and negative, respectively. For each of these categories, the mean and coefficient of variation of the pixel values were calculated (Fig.3BE). In calculating these values, the phase-contrast images were binarized to obtain foreground and background masks, and then computed using only the foreground pixels and normalized to those of the background pixels.
Statistical analysis of fluorescence at each developmental stage for positive and negative samples. (A) Histogram of coefficient of variation for foreground pixel values of fluorescent images at day 8. (B, C) Means of pixel values in positive and negative samples at each stage for ground-truth (green bars) and estimated fluorescent images (blue bars), respectively. (D, E) Coefficients of variation in positive samples at each stage for both ground-truth (green bars) and estimated fluorescent images (red bars), respectively. (F, G) Plots of ground-truth and estimated pixel values in positive and negative samples at each stage, respectively. Errors are 0% and 25% on the solid and dotted black lines, respectively. Error bars in (BE) indicate standard deviations.
Positive samples showed a gradual increase in mean and intensity over the days passed (Fig.3B). The negative sample, on the other hand, showed relatively low values from the beginning and did not change significantly over the days (Fig.3C). Similarly, the coefficients of variation increased in the positive samples but not in the negative samples (Fig.3D,E). These results indicate that the model successfully estimates the feature of the spatial Rax expression patterns during retinal organoid development, i.e., positive samples gradually increase Rax expressions and their heterogeneity, but negative samples do not. The intensity of the estimated images is relatively lower than the intensity of the ground-truth images in the positive samples and vice versa in the negative samples.
To clarify whether the model is capable to estimate intermediate values of the Rax expression, we analyzed the correlations between ground-truth and estimated values on foreground pixels at each stage, respectively (Fig.3F,G). The results show that in the positive sample (Fig.3F), the distribution of intensities is initially concentrated at low intensities and gradually expands to high intensities as the day progresses, with a wide distribution from low to high intensities. Similarly, in the negative sample, the luminance distribution is initially concentrated at low intensities, but does not expand as much as in the positive sample (Fig.3G). These results indicate that the model successfully estimated the plausible values across all pixel intensities, demonstrating the capability of our method to infer intermediate levels of gene expression. Notably, predicting Rax expression in the organoids at later stages, such as day 8 in our experiments, becomes more feasible for the model due to their characteristic morphologies. These distinct morphologies provide features that can be efficiently extracted by the convolution operators of the model.
To determine whether the estimated Rax expression patterns correspond to tissue morphologies, we quantified the spatial distribution of Rax intensity and the mean curvature along the tissue contour around each optic vesicle (Fig.4). For this analysis, four typical optic vesicles were selected from the positive samples and their curvature and Rax distribution were quantified. In this analysis, tissue contours were extracted and the radius of a circle passing through three points on the tissue contour was calculated as the inverse of the curvature. Moreover, the Rax intensity was measured as the average value along the depth direction from the tissue contour.
Correlation analysis of spatial Rax expression patterns and optic-vesicle morphologies. (A) Phase-contrast images. (B) Captured fluorescent images of Rax as ground-truths. (C) Estimated fluorescent images with our model. (D) Mean curvatures as a function of the distance along the organoid contour. (E) Captured and estimated fluorescent intensities of Rax along the organoid contour. The organoids in (AC) are identical and captured on day 8. The mean curvatures and fluorescence in (D, E) are for the regions indicated by the red line starting from the red dot in (A). Scale bars indicate 200m.
Optic vesicles are hemispherical, with positive curvature at the distal portion and negative curvature at the root (Fig.4A,D). The Rax intensity is continuously distributed around each vesicle, being highest at the distal part and gradually decreasing toward the root (Fig.4B,E). Furthermore, because the test images were taken with a conventional fluorescence microscope, structures above and below the focal plane are included in each image. Therefore, although some images have multiple overlapping vesicles (e.g., samples iii and iv), the model successfully estimated the Rax intensity of the overlapping regions as well.
MSE is commonly used as the training loss for training regression models. In addition to MSE, this model also uses cosine similarity, which can capture structural patterns from the entire image. To analyze the effect of cosine similarity on the estimation accuracy, we tested the model with different weights for both error metrics (Fig.5). The trained models were evaluated with MSE for each test dataset on different days (Fig.5A). The results demonstrated that cosine similarity improved the estimation accuracy at the early and intermediate stages, such as from day 4.5 to day 6. At these stages, the intensity in the differentiated region is weak, making it difficult for the network to capture structural patterns using MSE alone. Cosine similarity, on the other hand, enabled the network to learn the patterns from the weak intensity by calculating the correlation between the normalized ground-truth and the estimated images (Fig.5B). Therefore, our model has the capability to achieve the best estimate at different stages with appropriate weight balancing.
Effects of the balance of training loss on estimation accuracy. (A) Mean squared error at each stage with different hyperparameters, where bold and underlined numbers stand for the best and second best results on each day, respectively. (B) Examples of estimated fluorescent images at days 6 and 8 with different hyperparameters. The MSE of each estimated image is described in the upper left. The results with the lowest MSEs are surrounded by the red boxes. Scale bars indicate 200m.
See original here:
Machine learning-based estimation of spatial gene expression pattern during ESC-derived retinal organoid ... - Nature.com
- Stem Cell Research Article, Embryonic Cells Information ... [Last Updated On: May 6th, 2015] [Originally Added On: May 6th, 2015]
- Practical Problems with Embryonic Stem Cells [Last Updated On: May 6th, 2015] [Originally Added On: May 6th, 2015]
- What are embryonic stem cells? [Stem Cell Information] [Last Updated On: May 6th, 2015] [Originally Added On: May 6th, 2015]
- Embryonic stem cell - Science Daily [Last Updated On: May 7th, 2015] [Originally Added On: May 7th, 2015]
- What is Wrong With Embryonic Stem Cell Research? [Last Updated On: May 22nd, 2015] [Originally Added On: May 22nd, 2015]
- Destructive Embryonic Stem Cell Research | Antiochian ... [Last Updated On: June 13th, 2015] [Originally Added On: June 13th, 2015]
- NIH Human Embryonic Stem Cell Registry - Research Using ... [Last Updated On: June 22nd, 2015] [Originally Added On: June 22nd, 2015]
- Embryonic Stem Cell Research Pros and Cons | HRF [Last Updated On: July 2nd, 2015] [Originally Added On: July 2nd, 2015]
- Embryonic stem cells: where do they come from and what can ... [Last Updated On: July 2nd, 2015] [Originally Added On: July 2nd, 2015]
- Embryonic Stem Cells - HowStuffWorks [Last Updated On: July 2nd, 2015] [Originally Added On: July 2nd, 2015]
- Pros & Cons of Embryonic Stem Cell Research [Last Updated On: July 3rd, 2015] [Originally Added On: July 3rd, 2015]
- Children's Hospital Boston Glossary - Stem cell [Last Updated On: July 31st, 2015] [Originally Added On: July 31st, 2015]
- 1. Embryonic Stem Cells [Stem Cell Information] [Last Updated On: August 23rd, 2015] [Originally Added On: August 23rd, 2015]
- Embryonic stem cell - ScienceDaily [Last Updated On: August 23rd, 2015] [Originally Added On: August 23rd, 2015]
- Researchers control embryonic stem cells with light [Last Updated On: August 30th, 2015] [Originally Added On: August 30th, 2015]
- Embryonic stem cells controlled with light: Study reveals ... [Last Updated On: August 30th, 2015] [Originally Added On: August 30th, 2015]
- Embryonic stem cell research: an ethical dilemma | Europe ... [Last Updated On: September 5th, 2015] [Originally Added On: September 5th, 2015]
- Scientists reveal how stem cells defend against viruses [Last Updated On: September 22nd, 2015] [Originally Added On: September 22nd, 2015]
- An Overview of Stem Cell Research | The Center for ... [Last Updated On: October 3rd, 2015] [Originally Added On: October 3rd, 2015]
- Scientific Experts Agree Embryonic Stem Cells Are ... [Last Updated On: October 8th, 2015] [Originally Added On: October 8th, 2015]
- Myths and Misconceptions About Stem Cell Research ... [Last Updated On: October 12th, 2015] [Originally Added On: October 12th, 2015]
- Embryonic Stem Cell Maintenance & Differentiation (Human) [Last Updated On: October 23rd, 2015] [Originally Added On: October 23rd, 2015]
- Are embryonic stem cells and artificial stem cells equivalent? [Last Updated On: October 31st, 2015] [Originally Added On: October 31st, 2015]
- What are human embryonic stem cells used for? | Europe's stem ... [Last Updated On: August 30th, 2016] [Originally Added On: August 30th, 2016]
- Stem Cell Basics I. | stemcells.nih.gov [Last Updated On: September 17th, 2016] [Originally Added On: September 17th, 2016]
- Stem Cell Basics III. | stemcells.nih.gov [Last Updated On: September 17th, 2016] [Originally Added On: September 17th, 2016]
- Pros and Cons of Stem Cell Research - thebalance.com [Last Updated On: September 22nd, 2016] [Originally Added On: September 22nd, 2016]
- Embryonic Stem Cells and the Germ Cell Lineage | InTechOpen [Last Updated On: September 22nd, 2016] [Originally Added On: September 22nd, 2016]
- Cloning/Embryonic Stem Cells - National Human Genome Research ... [Last Updated On: September 22nd, 2016] [Originally Added On: September 22nd, 2016]
- Embryonic stem cell research - alsa.org [Last Updated On: September 22nd, 2016] [Originally Added On: September 22nd, 2016]
- Embryonic Stem Cells | Stem Cells Freak [Last Updated On: October 4th, 2016] [Originally Added On: October 4th, 2016]
- Embryonic Stem Cells | stemcells.nih.gov [Last Updated On: October 9th, 2016] [Originally Added On: October 9th, 2016]
- Embryonic stem cell - Wikipedia [Last Updated On: October 17th, 2016] [Originally Added On: October 17th, 2016]
- Stem-cell therapy - Wikipedia [Last Updated On: October 19th, 2016] [Originally Added On: October 19th, 2016]
- Stem cell - Wikipedia [Last Updated On: October 23rd, 2016] [Originally Added On: October 23rd, 2016]
- What are embryonic stem cells or ES cells? [Last Updated On: October 25th, 2016] [Originally Added On: October 25th, 2016]
- Embryonic Stem Cell Research - rtl.org [Last Updated On: November 8th, 2016] [Originally Added On: November 8th, 2016]
- Guest View: No to embryonic stem cells - htrnews.com [Last Updated On: November 9th, 2016] [Originally Added On: November 9th, 2016]
- Blood-Forming Stem Cell Transplants - National Cancer Institute [Last Updated On: December 5th, 2016] [Originally Added On: December 5th, 2016]
- How Embryonic Stem Cells Become Tissue Specific | TFOT [Last Updated On: December 12th, 2016] [Originally Added On: December 12th, 2016]
- Embryonic Stem Cell Research - An Ethical Dilemma [Last Updated On: December 12th, 2016] [Originally Added On: December 12th, 2016]
- Scientists reprogram embryonic stem cells to expand their ... [Last Updated On: January 15th, 2017] [Originally Added On: January 15th, 2017]
- Embryonic Stem Cell Research Threatened - Hartford Courant [Last Updated On: January 27th, 2017] [Originally Added On: January 27th, 2017]
- Embryonic stem (ES) cells - eurostemcell.org [Last Updated On: February 5th, 2017] [Originally Added On: February 5th, 2017]
- Researchers engineer new thyroid cells - Science Daily [Last Updated On: February 8th, 2017] [Originally Added On: February 8th, 2017]
- Yes There's Hope, But Treating Spinal Injuries With Stem Cells Is Not A Reality Yet - IFLScience [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- SEQUEIRA: Stem cell research must remain in foreground - University of Virginia The Cavalier Daily [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Stem cells: a miracle cure or playing God? - The Student [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- How does the Catholic Church resolve new bioethical questions? - The Tidings [Last Updated On: February 11th, 2017] [Originally Added On: February 11th, 2017]
- Possible key to regeneration found in planaria's origins - Phys.Org [Last Updated On: February 13th, 2017] [Originally Added On: February 13th, 2017]
- Novel Nanofiber Matrix Improves Stem Cell Production - R & D Magazine [Last Updated On: February 14th, 2017] [Originally Added On: February 14th, 2017]
- Your brain's got rhythm: Synthetic brain mimics - Science Daily [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Nanofiber matrix sends stem cells sprawling in all directions - New Atlas [Last Updated On: February 15th, 2017] [Originally Added On: February 15th, 2017]
- Vitamins and aminoacids regulate stem cell biology - Phys.Org [Last Updated On: February 16th, 2017] [Originally Added On: February 16th, 2017]
- How does the Catholic Church resolve new bioethical questions? - Catholic Free Press [Last Updated On: February 17th, 2017] [Originally Added On: February 17th, 2017]
- New Nanofiber Matrix Enhances Stem Cell Production - Drug Discovery & Development [Last Updated On: February 17th, 2017] [Originally Added On: February 17th, 2017]
- Transplanted Human Embryonic Stem Retinal Pigment Cells Survive 22 months in a Human Recipient - MedicalResearch.com (blog) [Last Updated On: February 18th, 2017] [Originally Added On: February 18th, 2017]
- Iowa GOP takes aim at research - The Daily Iowan [Last Updated On: February 21st, 2017] [Originally Added On: February 21st, 2017]
- Nanofiber Matrix Improves Stem Cell Growth - Asian Scientist Magazine [Last Updated On: February 22nd, 2017] [Originally Added On: February 22nd, 2017]
- The clone armies never happened, but Dolly the sheep still changed the world - Quartz [Last Updated On: February 23rd, 2017] [Originally Added On: February 23rd, 2017]
- Harvard scientist worries we're 'reverting to a pre-Enlightenment form of thinking' - Washington Post [Last Updated On: February 25th, 2017] [Originally Added On: February 25th, 2017]
- 20 Years After Dolly the Sheep, Potential of Cloning Remains Unclear - FOX40 [Last Updated On: February 25th, 2017] [Originally Added On: February 25th, 2017]
- Harvard scientist worries we're 'reverting to a pre-Enlightenment form of thinking' - SCNow [Last Updated On: February 28th, 2017] [Originally Added On: February 28th, 2017]
- Stem cells derived neuronal networks grown on a chip as an alternative to animal testing - Science Daily [Last Updated On: March 3rd, 2017] [Originally Added On: March 3rd, 2017]
- Facts About Cloning - Live Science [Last Updated On: March 3rd, 2017] [Originally Added On: March 3rd, 2017]
- Exclusive: CBMG CEO Talks Stem-Cell Therapies, Cancer Treatments, Financials & The Chinese Market - Benzinga [Last Updated On: March 3rd, 2017] [Originally Added On: March 3rd, 2017]
- Artificial Mouse Embryo Created in Culture - Technology Networks [Last Updated On: March 3rd, 2017] [Originally Added On: March 3rd, 2017]
- Artificial embryo grown in a dish from two types of stem cells - New Scientist [Last Updated On: March 3rd, 2017] [Originally Added On: March 3rd, 2017]
- Artificial mouse embryo created out of stem cells - BioNews [Last Updated On: March 7th, 2017] [Originally Added On: March 7th, 2017]
- Scientists Have Created the First Artificial Embryo Without Using an ... - Gizmodo [Last Updated On: March 8th, 2017] [Originally Added On: March 8th, 2017]
- Artificial Mouse 'Embryo' Created from Stem Cells for First Time - Laboratory Equipment [Last Updated On: March 8th, 2017] [Originally Added On: March 8th, 2017]
- Role of Stem Cell Reprogramming Factor Uncovered - Technology Networks [Last Updated On: March 8th, 2017] [Originally Added On: March 8th, 2017]
- COMMENTARY: Saving a 10-year-old's life but at what cost? - Globalnews.ca [Last Updated On: March 10th, 2017] [Originally Added On: March 10th, 2017]
- No egg? No sperm? No problem. First artificial embryo made from stem cells - Genetic Literacy Project [Last Updated On: March 10th, 2017] [Originally Added On: March 10th, 2017]
- For The First Time Ever, Scientists Have Successfully Created An ... - Wall Street Pit [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- Treating sickle cell disease with gene therapy - Jamaica Observer [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- Here's the first 3D glimpse of how DNA is packaged up in a single cell - Ars Technica [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- The craftsmanship of mimicking embryogenesis in a dish - BioNews [Last Updated On: March 13th, 2017] [Originally Added On: March 13th, 2017]
- Stem Cells Used to Create Artificial Embryo for the First Time Ever - TrendinTech [Last Updated On: March 15th, 2017] [Originally Added On: March 15th, 2017]
- Scientists create first 3D structure of active DNA - The Indian Express [Last Updated On: March 15th, 2017] [Originally Added On: March 15th, 2017]