{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [],
   "source": [
    "import ipywidgets as widgets\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "from matplotlib import pyplot as plt\n",
    "\n",
    "import wot\n",
    "\n",
    "# input paths\n",
    "FULL_DS_PATH = 'data/ExprMatrix.h5ad'\n",
    "CELL_DAYS_PATH = 'data/cell_days.txt'\n",
    "VAR_DS_PATH = 'data/ExprMatrix.var.genes.h5ad'\n",
    "TMAP_PATH = 'tmaps/serum'\n",
    "CELL_SETS_PATH = 'data/major_cell_sets.gmt'\n",
    "COORDS_PATH = 'data/fle_coords.txt'"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {}
   },
   "source": [
    "# Notebook 4: Ancestors, Descendants and Trajectories\n",
    "\n",
    "In their raw form, the transport maps show the descendants and ancestors of each individual cell. Here we explore several different techniques to analyze the ancestors, descendants and trajectories of *sets* of cells.\n",
    "\n",
    "Given a set $C$ of cells at time $t_j$, we can compute the descendant distribution at time $t_{j+1}$ by pushing the cell set through the transport matrix. \n",
    "This push forward operation is implemented in a matrix multiplication as follows. We first form a probability vector $p_{t_j}$ to represent the cell set $C$ as follows:\n",
    "\n",
    "$$p_{t_j}(x) = \\begin{cases} \\frac 1 {|C|} & \\quad x \\in C \\\\ 0 & \\quad \\text{otherwise}.\\end{cases}$$\n",
    "\n",
    "In the following code block we generate probability vectors for the cell sets IPS, Neural, Trophoblast, and Stromal on day 18. The $\\texttt{populations}$ object is a list of these probability vectors for different cell sets. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [],
   "source": [
    "tmap_model = wot.tmap.TransportMapModel.from_directory(TMAP_PATH)\n",
    "cell_sets = wot.io.read_sets(CELL_SETS_PATH, as_dict=True)\n",
    "populations = tmap_model.population_from_cell_sets(cell_sets, at_time=12)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {}
   },
   "source": [
    "We can then **push forward** each probability vector by multiplying by the transport map on the right \n",
    "\n",
    "$$p_{t_{j+1}}^T = p_{t_{j}}^T \\pi_{t_j,t_{j+1}}.$$\n",
    "\n",
    "Multiplying $p_{t_{j+1}}$ by $\\pi_{t_{j+1},t_{j+2}}$ would push it forward again to give the descendant distribution at time $t_{j+2}$. \n",
    "Continuing in this way, we can compute the descendant distribution at any later time point $t_{\\ell} > t_j$. \n",
    "\n",
    "To compute the **ancestors** of $C$ at an earlier time point $t_i < t_j$, we pull the cell set back through the transport map. \n",
    "This **pull-back** operation is also implemented as a matrix multiplication\n",
    "$$p_{t_{j-1}} = \\pi_{t_{j-1},t_j} p_{t_j}.$$\n",
    "The **trajectory** of a cell set $C$ refers to the sequence of ancestor distributions at earlier time points and descendant distributions at later time points. \n",
    "\n",
    "The method ```trajectories``` takes a list of probability vectors and returns the trajectories containing descendant distributions at later time points and ancestor distributions at earlier time points. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [],
   "source": [
    "trajectory_ds = tmap_model.trajectories(populations)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {}
   },
   "source": [
    "We can now visualize trajectories on the force layout embedding coordinates."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [],
   "source": [
    "# Load embedding coordinates\n",
    "coord_df = pd.read_csv(COORDS_PATH, sep='\\t', index_col=0)\n",
    "nbins = 500\n",
    "xrange = coord_df['x'].min(), coord_df['x'].max()\n",
    "yrange = coord_df['y'].min(), coord_df['y'].max()\n",
    "coord_df['x'] = np.floor(\n",
    "    np.interp(coord_df['x'], [xrange[0], xrange[1]], [0, nbins - 1])).astype(int)\n",
    "coord_df['y'] = np.floor(\n",
    "    np.interp(coord_df['y'], [yrange[0], yrange[1]], [0, nbins - 1])).astype(int)\n",
    "trajectory_ds.obs = trajectory_ds.obs.join(coord_df)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "5e329f6840e04002abb75b2ea6966d37",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "interactive(children=(Dropdown(description='Trajectory:', options=('IPS', 'Stromal', 'Neural', 'Trophoblast', …"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "<function __main__.update_trajectory_vis(name)>"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# Visualize trajectories\n",
    "trajectory_dropdown = widgets.Dropdown(\n",
    "    options=trajectory_ds.var.index,\n",
    "    description='Trajectory:'\n",
    ")\n",
    "\n",
    "def update_trajectory_vis(name):\n",
    "    figure = plt.figure(figsize=(10, 10))\n",
    "    plt.axis('off')\n",
    "    plt.tight_layout()\n",
    "    plt.title(name)\n",
    "    plt.scatter(coord_df['x'], coord_df['y'], c='#f0f0f0',\n",
    "                   s=4, marker=',', edgecolors='none', alpha=0.8)\n",
    "    binned_df = trajectory_ds.obs.copy()\n",
    "    binned_df['values'] = trajectory_ds[:, name].X\n",
    "    binned_df = binned_df.groupby(['x', 'y'], as_index=False).sum()\n",
    "    plt.scatter(binned_df['x'], binned_df['y'], c=binned_df['values'],\n",
    "                   s=6, marker=',', edgecolors='none', vmax=binned_df['values'].quantile(0.975))\n",
    "    plt.colorbar().ax.set_title('Trajectory')\n",
    "\n",
    "widgets.interact(update_trajectory_vis, name=trajectory_dropdown)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "We can also generate a trajectory movie across time"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "# from matplotlib import animation\n",
    "# from IPython.display import Video\n",
    "# name = 'IPS'\n",
    "# movie_file_name = '{}_trajectory.mov'.format(name)\n",
    "# figure = plt.figure(figsize=(10, 10))\n",
    "# plt.axis('off')\n",
    "\n",
    "# plt.tight_layout()\n",
    "# unique_days = trajectory_ds.obs['day'].unique()\n",
    "\n",
    "# binned_df = trajectory_ds.obs.copy()\n",
    "# binned_df['values'] = trajectory_ds[:, name].X\n",
    "# binned_df = binned_df.groupby(['x', 'y'], as_index=False).sum()\n",
    "# vmax=binned_df['values'].quantile(0.975)\n",
    "\n",
    "# def animate(i):\n",
    "#     _trajectory_ds = trajectory_ds[trajectory_ds.obs['day']==unique_days[i]]\n",
    "#     binned_df = _trajectory_ds.obs.copy()\n",
    "#     plt.suptitle('Day {}, {:,} cells'.format(unique_days[i], _trajectory_ds.shape[0]), y=0.95)\n",
    "#     plt.scatter(coord_df['x'], coord_df['y'], c='#f0f0f0', s=4, marker=',', edgecolors='none')\n",
    "#     binned_df['values'] = _trajectory_ds[:, name].X\n",
    "#     binned_df = binned_df.groupby(['x', 'y'], as_index=False).sum()\n",
    "#     plt.scatter(binned_df['x'], binned_df['y'], c=binned_df['values'],\n",
    "#                 s=6, marker=',', edgecolors='none', vmin=0, vmax=vmax)\n",
    " \n",
    "    \n",
    "# anim = animation.FuncAnimation(figure, func=animate, frames=range(0, len(unique_days)), init_func=lambda **args:None, repeat=False, interval=400)\n",
    "# anim.save(movie_file_name)\n",
    "# plt.close(figure)\n",
    "# Video(movie_file_name)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {}
   },
   "source": [
    "# Expression trends along trajectories\n",
    "\n",
    "We now show how to compute trends in expression along trajectories. Mathematically, the trajectory is represented by a probability distribution over cells at each time point. Therefore we can easily compute the average expression according to this probability distribution. \n",
    "\n",
    "We begin by computing expression trends for all genes and saving the `trajectory_trends` to disk. "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Transforming to str index.\n",
      "Transforming to str index.\n",
      "Transforming to str index.\n",
      "Transforming to str index.\n",
      "Transforming to str index.\n"
     ]
    }
   ],
   "source": [
    "#Load expression data\n",
    "adata = wot.io.read_dataset(FULL_DS_PATH) \n",
    "\n",
    "#Compute trends for all genes\n",
    "trajectory_trends = wot.tmap.trajectory_trends_from_trajectory(trajectory_ds, adata)\n",
    "\n",
    "# Save each trajectory in a separate file\n",
    "for i in range(len(trajectory_trends)):\n",
    "    wot.io.write_dataset(trajectory_trends[i], trajectory_ds.var.index[i] + '_trends.txt')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Read in trajectory trends"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "Transforming to str index.\n",
      "Transforming to str index.\n",
      "Transforming to str index.\n",
      "Transforming to str index.\n",
      "Transforming to str index.\n"
     ]
    }
   ],
   "source": [
    "trajectory_trend_datasets = []\n",
    "trajectory_names = []\n",
    "\n",
    "for i in range(trajectory_ds.shape[1]):\n",
    "    trajectory_names.append(trajectory_ds.var.index[i]) \n",
    "    trajectory_trend_datasets.append(wot.io.read_dataset(trajectory_ds.var.index[i] + '_trends.txt'))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {}
   },
   "source": [
    "Visualize trends"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "556d8a2c20454299af2a210b8b7ce962",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "interactive(children=(SelectMultiple(description='Trajectory:', index=(0,), options=('IPS', 'Stromal', 'Neural…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "<function __main__.update_trends_vis(selected_trajectories, gene_names)>"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "trajectory_dropdown = widgets.SelectMultiple(\n",
    "    options=trajectory_ds.var.index,\n",
    "    value=[trajectory_ds.var.index[0]],\n",
    "    description='Trajectory:'\n",
    ")\n",
    "\n",
    "gene_input = widgets.Text(\n",
    "    placeholder='',\n",
    "    description='Genes:',\n",
    "    value='Nanog',\n",
    "    continuous_update=False\n",
    ")\n",
    "\n",
    "def update_trends_vis(selected_trajectories, gene_names):\n",
    "    gene_names = gene_names.replace(' ', '').split(',')\n",
    "    \n",
    "    figure = plt.figure(figsize=(10, 10))\n",
    "    \n",
    "    \n",
    "    for selected_trajectory in selected_trajectories:\n",
    "        trajectory_index = trajectory_names.index(selected_trajectory)\n",
    "        mean = trajectory_trend_datasets[trajectory_index]\n",
    "        mean = mean[:, mean.var.index.str.lower().isin([gene.lower() for gene in gene_names])]\n",
    "        timepoints = mean.obs.index.values.astype(float)\n",
    "        mean.obs.index = mean.obs.index.astype('category')\n",
    "    \n",
    "        if mean.shape[1] > 0:\n",
    "            for i in range(mean.shape[1]):  # each gene\n",
    "                mean_i = mean[:, i].X\n",
    "                plt.plot(timepoints, mean_i, label=mean.var.index[i] + ', ' + selected_trajectory)\n",
    "            plt.xlabel(\"Day\")\n",
    "            plt.ylabel(\"Expression\")\n",
    "            plt.legend()\n",
    "\n",
    "widgets.interact(update_trends_vis, selected_trajectories=trajectory_dropdown, gene_names=gene_input)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "pycharm": {}
   },
   "source": [
    "# Shared Ancestry"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "adata_var = wot.io.read_dataset(VAR_DS_PATH) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [],
   "source": [
    "divergence_df = wot.tmap.trajectory_divergence(adata_var, trajectory_ds, distance_metric='total_variation')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Plot divergence"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "pycharm": {}
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.legend.Legend at 0x1a32900390>"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "[encoded data, 125708 characters]\n",
      "text/plain": [
       "<Figure size 720x720 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "divergence_df['name'] = divergence_df['name1'].str.split('/').str.get(0) + ' vs. ' + divergence_df['name2'].str.split('/').str.get(\n",
    "        0)\n",
    "plt.figure(figsize=(10, 10))\n",
    "plt.xlabel(\"Day\")\n",
    "plt.ylabel(\"Distance\")\n",
    "for p, d in divergence_df.groupby('name'):\n",
    "    plt.plot(d['day2'], d['distance'], '-o', label=p)\n",
    "plt.legend(loc='best')"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [conda env:wot]",
   "language": "python",
   "name": "conda-env-wot-py"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  },
  "pycharm": {
   "stem_cell": {
    "cell_type": "raw",
    "metadata": {
     "collapsed": false
    },
    "source": []
   }
  },
  "widgets": {
   "application/vnd.jupyter.widget-state+json": {
    "state": {
     "00a92e2e64bd4bc6a1f9e09ad149caf2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "012871edd0fe4670a9ad03a4bc162d8e": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "01c306cdcfbb4407b9f95af079c2f9f7": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_863273ca40fb4e3595acd0a4b376b072",
       "style": "IPY_MODEL_69c456cbf3314e1fb3225bd7bd35981d"
      }
     },
     "021bbc16573f4f58b139a5d8ccbcc02f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "0225fa27dd474f339642942e91f08bb9": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "031dac01d6fe455dad2220c714f40e75": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_192f0cce26c848c88a7a0d4c7a1fe0d5",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 27880 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "0354d575d42648a5891b8664f19e0a80": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_154089dd8d5c4adbb12611a4c24c5206",
       "style": "IPY_MODEL_f93a825226c741e3a731928be58fff3a"
      }
     },
     "0389d1eea51b437eb5bc0da3c641f862": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "046e6bcb460740258b4104351585c5c1": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_731c4fafd9724506bdf7abeebef3dded",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "05081e546cea4e1d955acffd8cb7cf3a": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "06b12a3a11614502b6b77945253e4689": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_4eb44136049d4bb9a1dc509ce0887f36",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 28320 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "073785d1ae624601876692d8d13b2541": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "07ba8da997ac45b8a36895072d53667e": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "09670d1b0bb843189016d3b878eef56e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "09e8358720864a74a8f0557805b44beb": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "0ae034e966e243719f7729dfb4c0eb14": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_3db2dd7e94144190ad4de32363959014",
       "style": "IPY_MODEL_84821b5094274ff186acd9b80a600036"
      }
     },
     "0cf8e5aa9668493b9d97d5f75eba1a11": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "0dc4bc40b09e48a0840dec6b6e3a5966": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "0e53980db2d548149a8b713d95a0d5fe": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "0e7772a284934a31930c5808f10f89a0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "0ec5e235e11e4414b0387df134015429": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "0f3c0782037a4a58bf86c1d56a5fdd68": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_21b5a94a00d247a1af45fa0cb45efd3f",
       "placeholder": "",
       "style": "IPY_MODEL_d6ce0003451248b4b464b265db3d84f4",
       "value": "Nanog"
      }
     },
     "0fb94ddb86314a3b86e9bcf3e82ac748": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "1011e81baf264e0683bad4bb763cd450": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "1028367e945943a9b34f7d0eb61c1e5d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "11bfbcc317494aafab4f3378cee9e552": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "1221ff2502844183a46fcdf93d2d5dd2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "125eabc3165b4ac39c25b7d246824aaf": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "13704364d7064cad91bea6a427967e4f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "154089dd8d5c4adbb12611a4c24c5206": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "158bd577433e4ff0a3b692f34a7991ce": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "15e66308016d4152bb414903b93cf5a7": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "1627e2abca5c420da65607559e3fd661": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_32fa7fa3bfca411f8d1a1f384708d666",
       "style": "IPY_MODEL_8362ee0bfaf941d1b2a8c955a761eccc"
      }
     },
     "18071d6e93d549ef8bf7565df23ca004": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "18244360d94949c98f735eea23f43765": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "183a6865db31410c887cde3692d1f0b9": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "192f0cce26c848c88a7a0d4c7a1fe0d5": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "1a11448865214ef6a637f5eceb38106f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "1b1ce35f44234a32a3ebc3a790f06202": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_4e6a71063e5c4ce38ad6988a37fab66d",
        "IPY_MODEL_9476ea9e320442ac88c06ce76133d224",
        "IPY_MODEL_031dac01d6fe455dad2220c714f40e75"
       ],
       "layout": "IPY_MODEL_f3a231e989b5456ca6bc6be7f944b8cc"
      }
     },
     "1f1fde5754314fdba5b8f973ccb7b8b1": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_d95a9640d367481a85557bb4308a3ce2",
        "IPY_MODEL_f38066f91a294e28a1da819507379045",
        "IPY_MODEL_68f7ea3f6bd24656a5323a862398ad17"
       ],
       "layout": "IPY_MODEL_7728594705df4e4e886175eac716d6f9"
      }
     },
     "1f43c4381f1a4fe086172155e1797134": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_d8dd4dbea00b41a385911cfbbe4bb8e2",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 47696 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "201c71276dee41ea949ff03953401674": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "20210cdfb20441e8957b6a693c76a231": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_3f181989d81244d78ab89d1a62e139b8",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "20708f9fc40743c0b49b8f051637b3c8": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_df4710230da64b00862410bfb6065620",
       "rows": 5,
       "style": "IPY_MODEL_d71606b1c945407cbc3108e54159fbe6"
      }
     },
     "21b5a94a00d247a1af45fa0cb45efd3f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "22426f47dc85455d825cda6ef98a2802": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "25536873391b408d998de72de57c7ca4": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "256b60f038ff41b2a0487674c3c0800d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "26b1d1715a6c4b77a67753f9a6ffa168": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "273f951f062b406a8360bd3ccfa15a11": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "27abb2168a8a414f893d0259781ac16d": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_e1b1565cb38f4d32abdceae1a9755ab7",
       "outputs": [
        {
         "ename": "NameError",
         "evalue": "name 'name' is not defined",
         "output_type": "error",
         "traceback": [
          "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
          "\u001b[0;31mNameError\u001b[0m                                 Traceback (most recent call last)",
          "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/ipywidgets/widgets/interaction.py\u001b[0m in \u001b[0;36mupdate\u001b[0;34m(self, *args)\u001b[0m\n\u001b[1;32m    249\u001b[0m                     \u001b[0mvalue\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwidget\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_interact_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    250\u001b[0m                     \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mwidget\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_kwarg\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mvalue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 251\u001b[0;31m                 \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    252\u001b[0m                 \u001b[0mshow_inline_matplotlib_plots\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    253\u001b[0m                 \u001b[0;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_display\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresult\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
          "\u001b[0;32m<ipython-input-12-0e2b9edbec0f>\u001b[0m in \u001b[0;36mupdate_trends_vis\u001b[0;34m(selected_trajectories, gene_names)\u001b[0m\n\u001b[1;32m     30\u001b[0m             \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mxlabel\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Day\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     31\u001b[0m             \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mylabel\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Expression\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 32\u001b[0;31m             \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtitle\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mname\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     33\u001b[0m             \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlegend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     34\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
          "\u001b[0;31mNameError\u001b[0m: name 'name' is not defined"
         ]
        }
       ]
      }
     },
     "29218ab89f074bea87577666bfa2d0c6": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_c9d09b70d37a4576b4b1c26bcb9179aa",
        "IPY_MODEL_046e6bcb460740258b4104351585c5c1"
       ],
       "layout": "IPY_MODEL_0cf8e5aa9668493b9d97d5f75eba1a11"
      }
     },
     "29f102b260d045ff977f5d27fc538422": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "2ca6e52429a9489bbc135e2e5271dd96": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "2d9ce0bdadfb4966a1463061df60739d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "2e0432a175f343498969e93650b93b89": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "2f87baa789e945b99519072ca2d9cad4": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "2fb2a745fa4343f8bdc7d507f93f97f1": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "31859851c5a846edb6e46a83202a9f18": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "32cf770513a34cb5943dd22368af8489": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_357ee9818f2f4a75a8f02f89cfe359b7",
       "outputs": [
        {
         "ename": "AttributeError",
         "evalue": "'list' object has no attribute 'lower'",
         "output_type": "error",
         "traceback": [
          "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
          "\u001b[0;31mAttributeError\u001b[0m                            Traceback (most recent call last)",
          "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/ipywidgets/widgets/interaction.py\u001b[0m in \u001b[0;36mupdate\u001b[0;34m(self, *args)\u001b[0m\n\u001b[1;32m    249\u001b[0m                     \u001b[0mvalue\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwidget\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_interact_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    250\u001b[0m                     \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mwidget\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_kwarg\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mvalue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 251\u001b[0;31m                 \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    252\u001b[0m                 \u001b[0mshow_inline_matplotlib_plots\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    253\u001b[0m                 \u001b[0;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_display\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresult\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
          "\u001b[0;32m<ipython-input-27-44317426a5a5>\u001b[0m in \u001b[0;36mupdate_trends_vis\u001b[0;34m(selected_trajectories, gene_names)\u001b[0m\n\u001b[1;32m     21\u001b[0m         \u001b[0mtrajectory_index\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtrajectory_names\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mselected_trajectory\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     22\u001b[0m         \u001b[0mmean\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtrajectory_trend_datasets\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mtrajectory_index\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 23\u001b[0;31m         \u001b[0mmean\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvar\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlower\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0misin\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgene_names\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlower\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     24\u001b[0m         \u001b[0mtimepoints\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mobs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvalues\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mastype\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfloat\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     25\u001b[0m         \u001b[0mmean\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mobs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mobs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mastype\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'category'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
          "\u001b[0;31mAttributeError\u001b[0m: 'list' object has no attribute 'lower'"
         ]
        }
       ]
      }
     },
     "32fa7fa3bfca411f8d1a1f384708d666": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "34632b66ce7945478d2a3c34c388bb64": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_5954ec393c3f43ec957c66a1bd6f359d",
       "outputs": [
        {
         "name": "stdout",
         "output_type": "stream",
         "text": "['Gdf9']\n"
        },
        {
         "data": {
          "image/png": "[encoded data, 47924 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "34edab7257d946a5bc532212bfb608ad": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_68d7f1539903477daf7797aa801de6ef",
       "style": "IPY_MODEL_0fb94ddb86314a3b86e9bcf3e82ac748"
      }
     },
     "357ee9818f2f4a75a8f02f89cfe359b7": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "35c69c21bacb44e6834e2b1455e6cea9": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_c82c2b1752ab4be38890fb99c69e28dd",
        "IPY_MODEL_a9e36387a5ba4062b8536f636576623a"
       ],
       "layout": "IPY_MODEL_736f8e82d6854a4b92890b60352c6a0f"
      }
     },
     "360acf09354e4f7d886d26aa40b00698": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "layout": "IPY_MODEL_012871edd0fe4670a9ad03a4bc162d8e"
      }
     },
     "360cb04dc4b644fcbf25a9dbbd48ce18": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "381212f8e8274c0b99d77f5f56103fb8": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "387c1972acbe4d98b724ccfc105a450b": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "39b8bee80d784fffa860903283787993": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "3a43a1468ff3492ca596f43c35c3f7e5": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_18071d6e93d549ef8bf7565df23ca004",
       "rows": 5,
       "style": "IPY_MODEL_f783891f2793425b96fe82397b7c4b07"
      }
     },
     "3ac3a4199d41467ea3f0374fa0df5f28": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "3b320848ee7b4127a3d0ec5687aada09": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_3cab3875e48f45c1a22dfa55223e8a34",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 27880 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "3cab3875e48f45c1a22dfa55223e8a34": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "3db2dd7e94144190ad4de32363959014": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "3dc7bde423c14b19a53bfc87f8e5b144": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_436561c61cad40ae8bf146ee8a62b72e",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 116040 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "3df3c31349554f88bd8a4035f9ee6683": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_e120203e251e45ad966fd60a10b3b6b7",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 111604 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "3ede8c619ef24793b1bd6f1eeac552fc": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_273f951f062b406a8360bd3ccfa15a11",
       "rows": 5,
       "style": "IPY_MODEL_183a6865db31410c887cde3692d1f0b9"
      }
     },
     "3f181989d81244d78ab89d1a62e139b8": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "42131a4ca6964129a325f9c7b3f2d11b": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "4227c6eb72d34bc0a198361eb9ecf3bd": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_76331aced5304a249c15b7dade98ea9c",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "435821faf20f4fcdb273ad09c5f81794": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_acf0bc11a6ad4703b64d66ecefb27885",
       "style": "IPY_MODEL_593dc8373e164a07a911f649eb037bef"
      }
     },
     "436561c61cad40ae8bf146ee8a62b72e": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "43a5c5e3d65843bd8504fea8c3e987fc": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "44579bff68514820b02b562e7687198f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_87bff215708c4e1f95e8b40e692349f2",
        "IPY_MODEL_8e6854ea31774b4aa681a18246ea6ea4"
       ],
       "layout": "IPY_MODEL_2f87baa789e945b99519072ca2d9cad4"
      }
     },
     "45760d821a564765b1783164ef6d14e0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "45a83121acd4459cb1f73da34de3c784": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "45af31c77b224d05bbcb992ebfe0b586": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_587ac7e426b048319edcc631f123874c",
        "IPY_MODEL_57977d350aed4283b953fcc780ab28d1"
       ],
       "layout": "IPY_MODEL_bf765d598f6240eca76945654de1184a"
      }
     },
     "471ffef799494a6d8e1db7bd2d5c0eb4": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_f140ea709c18475b88d60fa9a026f383",
        "IPY_MODEL_597f2be186bd485090d603f61b31b3ec",
        "IPY_MODEL_34632b66ce7945478d2a3c34c388bb64"
       ],
       "layout": "IPY_MODEL_e1c74ff5ad0f4d70b4d36f3cfbd661e0"
      }
     },
     "47e1538830c8409f9fee28e9e35c81de": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "482dba14a90a4477a0be46ab447f78eb": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "48cf89c04f674cfebdedccb6f44151cd": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "49f5fabb4da24f1e8906e4d6e44404d1": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "4af124a817c64a64b9d66f70a68a8b55": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "4b19cf8fd3cb4616aa234e69a000801a": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "4c3f731b02914a3c904fd18a91fae6c2": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "4cd41598d4874c189040a4215562f424": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "4d463ea3fe2b4c65814ab1ecac131c92": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "4d88a213db53404791328ca2cae9c97c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "4dc57edf701f4765ae286901cfe93055": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_8afbd8d95ef7405488fe9cf5dfeb41a9",
       "placeholder": "",
       "style": "IPY_MODEL_b09025a972d04da18971e82c15b440c3",
       "value": "Nanog"
      }
     },
     "4e6a71063e5c4ce38ad6988a37fab66d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_88aeabf5d98847099d068268a12ee3b9",
       "rows": 5,
       "style": "IPY_MODEL_7c3c27c57c034c9b9f4fb3fc72c41cc0"
      }
     },
     "4eb44136049d4bb9a1dc509ce0887f36": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "50341235bb2e457cbda52a080d9e95a8": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "5041cdf907c545ecb5a9e0f77e368326": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_09e8358720864a74a8f0557805b44beb",
       "style": "IPY_MODEL_88bceb3eaf6a4fe19d636aa84eca83ec"
      }
     },
     "50d990ad0b054926bab51a586bea62a9": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 1,
       "layout": "IPY_MODEL_39b8bee80d784fffa860903283787993",
       "style": "IPY_MODEL_ec7b52fa837246ceaefd23bacdca2099"
      }
     },
     "51cc9489f8734518bb66ba9961839c65": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_74806c25a78c45ff94cd201736b81f3c",
        "IPY_MODEL_4227c6eb72d34bc0a198361eb9ecf3bd"
       ],
       "layout": "IPY_MODEL_4af124a817c64a64b9d66f70a68a8b55"
      }
     },
     "52004dac43404bd28caf493aede53a40": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "52558613a6d94cfbae55fc5f5eb922d9": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "52addbe897f043c3b0da2d599122b13d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "5331acc9511440cfb28f308225f410d2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "5424af91de1b41b4a8cefec1f8104f16": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "5476e25b12d04f798600a436a8ae6f04": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "547ca65be247451fafaaece3639e7c3d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "54d792a5ecaa4aa1a7b848f3e4b81fb0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "556d8a2c20454299af2a210b8b7ce962": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_67ac7dded9fb4eef940bb06d02063083",
        "IPY_MODEL_c6605d924a7c433ebd9f2defef015c08",
        "IPY_MODEL_9c5870d35bdc412ab495da81e6b19149"
       ],
       "layout": "IPY_MODEL_00a92e2e64bd4bc6a1f9e09ad149caf2"
      }
     },
     "56141f58297e4af99ae35344e9bc102a": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_976efc14976d40f48d7316934b086464",
        "IPY_MODEL_a3a0401fd40a44878c8a90d16259cace"
       ],
       "layout": "IPY_MODEL_e022b61a67814a3dbc97b6ec1a9a232c"
      }
     },
     "56515ed6daf04b719118f65e37a8cf51": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "5677c477773a44ca80a4541f3b499dae": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "57977d350aed4283b953fcc780ab28d1": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_e9def08a086449f38a6c54a05c2fe9c2",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 116040 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "57adc6b0edaa4ebba4fdfbac0acd7fd6": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_1221ff2502844183a46fcdf93d2d5dd2",
       "rows": 5,
       "style": "IPY_MODEL_be0ae5ae12ff440482e004c6b430024a"
      }
     },
     "587ac7e426b048319edcc631f123874c": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_48cf89c04f674cfebdedccb6f44151cd",
       "style": "IPY_MODEL_4cd41598d4874c189040a4215562f424"
      }
     },
     "593dc8373e164a07a911f649eb037bef": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "5954ec393c3f43ec957c66a1bd6f359d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "597f2be186bd485090d603f61b31b3ec": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_3ac3a4199d41467ea3f0374fa0df5f28",
       "placeholder": "",
       "style": "IPY_MODEL_d243aff5f9674072bbc1cc7f2e14fc9e",
       "value": "Gdf9"
      }
     },
     "5a05cb2328ef4e0fafb116adf4124df0": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_f26c94a9629e44e1bdf94d861a47aa7b",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "5b643ec99d44403f83005e7aed3d545f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_d817ab4e1fa74530befdd9b54e252e3e",
       "style": "IPY_MODEL_b07adb22ddba4f57bbf2e707a31cf02d"
      }
     },
     "5d4bc85ffbdd47f69f273997e011d14f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_f0062ab4fec046fa90602c23fc4a55fe",
        "IPY_MODEL_7bc817ebccd84ae68735b7a71ccbb830",
        "IPY_MODEL_6a039c5916504231886e35b98466a21c"
       ],
       "layout": "IPY_MODEL_05081e546cea4e1d955acffd8cb7cf3a"
      }
     },
     "5e329f6840e04002abb75b2ea6966d37": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_c6065633ff0743f5b7108d9ab216df90",
        "IPY_MODEL_3df3c31349554f88bd8a4035f9ee6683"
       ],
       "layout": "IPY_MODEL_d94ac01d46994e8988cf713bd460f4b0"
      }
     },
     "5f1c14a847954bc1b6fc64ccec37ca17": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "60137a4459cd42b587d9c73ff8619dea": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_5476e25b12d04f798600a436a8ae6f04",
       "outputs": [
        {
         "ename": "UnboundLocalError",
         "evalue": "local variable 'mean' referenced before assignment",
         "output_type": "error",
         "traceback": [
          "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
          "\u001b[0;31mUnboundLocalError\u001b[0m                         Traceback (most recent call last)",
          "\u001b[0;32m~/miniconda3/lib/python3.7/site-packages/ipywidgets/widgets/interaction.py\u001b[0m in \u001b[0;36mupdate\u001b[0;34m(self, *args)\u001b[0m\n\u001b[1;32m    249\u001b[0m                     \u001b[0mvalue\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwidget\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_interact_value\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    250\u001b[0m                     \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mwidget\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_kwarg\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mvalue\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 251\u001b[0;31m                 \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresult\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mf\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    252\u001b[0m                 \u001b[0mshow_inline_matplotlib_plots\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    253\u001b[0m                 \u001b[0;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mauto_display\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mresult\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
          "\u001b[0;32m<ipython-input-11-854457df7f3e>\u001b[0m in \u001b[0;36mupdate_trends_vis\u001b[0;34m(selected_trajectories, gene_names)\u001b[0m\n\u001b[1;32m     16\u001b[0m     \u001b[0mfigure\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfigure\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mfigsize\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     17\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 18\u001b[0;31m     \u001b[0mmean\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mmean\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvar\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0misin\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mgene_names\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     19\u001b[0m     \u001b[0;32mfor\u001b[0m \u001b[0mselected_trajectory\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mselected_trajectories\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     20\u001b[0m         \u001b[0mtrajectory_index\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtrajectory_names\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mindex\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mselected_trajectory\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
          "\u001b[0;31mUnboundLocalError\u001b[0m: local variable 'mean' referenced before assignment"
         ]
        }
       ]
      }
     },
     "606baa3ddd0148f9bdbc310b1833cc87": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "62090c394a6e4c4782ecf2f6d6f73558": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_d74d0e706542451e97e4912a436ffcb2",
       "placeholder": "",
       "style": "IPY_MODEL_0ec5e235e11e4414b0387df134015429",
       "value": "Nanog"
      }
     },
     "657ba1efc82e468cadd82fb90f163289": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_4d463ea3fe2b4c65814ab1ecac131c92"
      }
     },
     "67ac7dded9fb4eef940bb06d02063083": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_d53b0a86c4c34d828684fccdd9dcad92",
       "rows": 5,
       "style": "IPY_MODEL_387c1972acbe4d98b724ccfc105a450b"
      }
     },
     "68d7f1539903477daf7797aa801de6ef": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "68dab7bae262463aba60b39868dade25": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_b54a54204c6547728f9744850542d7d4",
       "style": "IPY_MODEL_d0c7b8ace27b4d2c893c3b8ea48eeba8"
      }
     },
     "68f7ea3f6bd24656a5323a862398ad17": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_2fb2a745fa4343f8bdc7d507f93f97f1",
       "outputs": [
        {
         "name": "stdout",
         "output_type": "stream",
         "text": "['Gdf9']\n"
        },
        {
         "data": {
          "image/png": "[encoded data, 47924 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "697412db18594182bf9288645f41c4ff": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_5b643ec99d44403f83005e7aed3d545f",
        "IPY_MODEL_5a05cb2328ef4e0fafb116adf4124df0"
       ],
       "layout": "IPY_MODEL_0389d1eea51b437eb5bc0da3c641f862"
      }
     },
     "69c456cbf3314e1fb3225bd7bd35981d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "6a039c5916504231886e35b98466a21c": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_a6bd64f6986244a78f4a4c9a4bb70eb4",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 30780 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "6a4078caca4742eea6d939eced157213": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_e6c3067f29ce4de6aca48a3fb854fc32",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 27840 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "6cf708e9a33f4babbb9d304e12aee13f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_a7b20484422745a7a7305711b956e189",
       "rows": 5,
       "style": "IPY_MODEL_c3cde59865c04def9f530f3e953fa1b5"
      }
     },
     "6d02c4b7c030410a81f96224aded6897": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_c37283ef1e934042b1facd566d235c41",
       "style": "IPY_MODEL_91e6493e1b604fa4a76c0d68ef037427"
      }
     },
     "6e139a8ddb96482cb1f2b309696c17b3": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_7918c984d903447f8725c99b87e1069c",
        "IPY_MODEL_657ba1efc82e468cadd82fb90f163289"
       ],
       "layout": "IPY_MODEL_73ca54670a4740d187e1d9162b89d038"
      }
     },
     "6ec68ff4eb9d4bafb9fecc6afea96c1f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "6fcdb59b669440349439b9a483409b7b": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "722295eea54946789794270c07082362": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_1627e2abca5c420da65607559e3fd661",
        "IPY_MODEL_f0bd9d87118544a39b9cd0c596ef7e2a"
       ],
       "layout": "IPY_MODEL_76652f1a10cc466d98684c0a45f2f20d"
      }
     },
     "7275946239eb43c08c87beadcef9d2bf": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "731c4fafd9724506bdf7abeebef3dded": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "736f8e82d6854a4b92890b60352c6a0f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "73ca54670a4740d187e1d9162b89d038": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "741168ec1a1540a7a1729b6457e752a3": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "74806c25a78c45ff94cd201736b81f3c": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_31859851c5a846edb6e46a83202a9f18",
       "style": "IPY_MODEL_ae5aeb1c46ad48ba8aba0b2e04ee9754"
      }
     },
     "74a382c7d18341d091d02116a73131ed": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "76331aced5304a249c15b7dade98ea9c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "76652f1a10cc466d98684c0a45f2f20d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "7728594705df4e4e886175eac716d6f9": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "7918c984d903447f8725c99b87e1069c": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_975289a12d814e8fb166fdc22f189c96",
       "style": "IPY_MODEL_52addbe897f043c3b0da2d599122b13d"
      }
     },
     "7a32e71643264ef78fe613dd068eedc7": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_da3420f4fedf4f1fa168edcd6aa83b63",
       "placeholder": "",
       "style": "IPY_MODEL_5424af91de1b41b4a8cefec1f8104f16",
       "value": "Nanog"
      }
     },
     "7b4e8d5b690a4033afb8b124419536cb": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_6d02c4b7c030410a81f96224aded6897",
        "IPY_MODEL_f344b775d7ef4346b7a3b5a747a4c126"
       ],
       "layout": "IPY_MODEL_5677c477773a44ca80a4541f3b499dae"
      }
     },
     "7bc817ebccd84ae68735b7a71ccbb830": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_13704364d7064cad91bea6a427967e4f",
       "placeholder": "",
       "style": "IPY_MODEL_42131a4ca6964129a325f9c7b3f2d11b",
       "value": "NanoG, Gdf9"
      }
     },
     "7c3c27c57c034c9b9f4fb3fc72c41cc0": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "7c8b7301aa1c4974abbd3b65756fb5fb": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_5041cdf907c545ecb5a9e0f77e368326",
        "IPY_MODEL_cd9139f43013454dbb03858e0bfb3539"
       ],
       "layout": "IPY_MODEL_18244360d94949c98f735eea23f43765"
      }
     },
     "7e844ea37a4e40f884337ce7e381d4ce": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "7edab2a7807041f7b85422746e7233b3": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_b1d455c29a194c0b808773efc2a6aa07",
        "IPY_MODEL_e8f4359258de4aac9ef1c022f674f3cc"
       ],
       "layout": "IPY_MODEL_b5e798971b264ef49dadb3f6b625c7e5"
      }
     },
     "7f08725d251448b78c527bbae7ba2d80": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_8ea0216476c94c18ab54565370b90324",
        "IPY_MODEL_9a932ad5b68c4033bdc218f0f093d1eb",
        "IPY_MODEL_97f9f44c408a4ebca71cca2868e6edab"
       ],
       "layout": "IPY_MODEL_11bfbcc317494aafab4f3378cee9e552"
      }
     },
     "7fa51fbe127c4e1cb1c9b39258c0f8b7": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_f2085760e86a4c2ca222cbda5c9eac81",
        "IPY_MODEL_a88e0da9f7eb4295919b11150403265d"
       ],
       "layout": "IPY_MODEL_80a8976ff1844b30a31379ce4e978a48"
      }
     },
     "7ffbdd5705ec430b98acb0282b028f8f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "80a8976ff1844b30a31379ce4e978a48": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "8362ee0bfaf941d1b2a8c955a761eccc": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "83b95ea4c09c432a827c63fc605717d7": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_3ede8c619ef24793b1bd6f1eeac552fc",
        "IPY_MODEL_e323e99ed1704676b1f04e8a59583a66",
        "IPY_MODEL_3b320848ee7b4127a3d0ec5687aada09"
       ],
       "layout": "IPY_MODEL_fb28073432034395a9845a9f9f689c5c"
      }
     },
     "84821b5094274ff186acd9b80a600036": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "85e3603753f34e7eb21705a984abcb07": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_cff8aa9a79e54943a9cb0de04b34245a",
        "IPY_MODEL_0f3c0782037a4a58bf86c1d56a5fdd68",
        "IPY_MODEL_60137a4459cd42b587d9c73ff8619dea"
       ],
       "layout": "IPY_MODEL_74a382c7d18341d091d02116a73131ed"
      }
     },
     "863273ca40fb4e3595acd0a4b376b072": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "8662c054d4fd44babcf8c1fff39add53": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "86ef7ff1ed0b47988ae75ab2a556bc86": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_9aca4f284f0542d588e4f9040266bf1c",
       "placeholder": "",
       "style": "IPY_MODEL_4c3f731b02914a3c904fd18a91fae6c2",
       "value": "Nanog"
      }
     },
     "873227c334034456a4c29d8de54fec88": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "873cb2a1ece84c628fad868a6d846857": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "87bff215708c4e1f95e8b40e692349f2": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_073785d1ae624601876692d8d13b2541",
       "style": "IPY_MODEL_97906c487607452db31b87984ed7d280"
      }
     },
     "889a2f69674b4a13a089b2abe5ed419c": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_b0c2e4bbac2647a99f7cdc15a8c37b24",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 116040 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "88aeabf5d98847099d068268a12ee3b9": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "88bceb3eaf6a4fe19d636aa84eca83ec": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "8a9d6224363641cd9f7f1a8867688af8": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "8afbd8d95ef7405488fe9cf5dfeb41a9": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "8b12d1054734482b88062018bd2c9216": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_ccbe1e62a3194acfbdfd287a09efeac6",
       "placeholder": "",
       "style": "IPY_MODEL_4b19cf8fd3cb4616aa234e69a000801a",
       "value": "Nanog"
      }
     },
     "8d1648f3d49f4ed99b71136cc2df008d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_49f5fabb4da24f1e8906e4d6e44404d1",
       "placeholder": "",
       "style": "IPY_MODEL_b935e2a9d33f400da566954f33ad181d",
       "value": "Nanog"
      }
     },
     "8e6854ea31774b4aa681a18246ea6ea4": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_43a5c5e3d65843bd8504fea8c3e987fc",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "8ea0216476c94c18ab54565370b90324": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0,
        1
       ],
       "layout": "IPY_MODEL_9bae708964ea4b43a951d84a4ce78633",
       "rows": 5,
       "style": "IPY_MODEL_a3482e3d39bc43d49d7fa9de6d3dee6b"
      }
     },
     "8f7c9f1223ba4bfba95adea2dda9dbda": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "90fa5a7073594f65ad5af8c97e063729": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_8f7c9f1223ba4bfba95adea2dda9dbda",
       "style": "IPY_MODEL_c221f10903334303a5c28fba4999a946"
      }
     },
     "914aa807b1ec4bd9b457be6e479fd48c": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_34edab7257d946a5bc532212bfb608ad",
        "IPY_MODEL_20210cdfb20441e8957b6a693c76a231"
       ],
       "layout": "IPY_MODEL_f74e3626a13c45d99d153f992750d67d"
      }
     },
     "91cd1a4f4d6247918950f7f025d55926": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_360cb04dc4b644fcbf25a9dbbd48ce18",
       "style": "IPY_MODEL_606baa3ddd0148f9bdbc310b1833cc87"
      }
     },
     "91e6493e1b604fa4a76c0d68ef037427": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "91e6a17f630041a8835add6252876f30": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_d5fb34a196d141759edc45fb54e3c1e8",
        "IPY_MODEL_b32a394367ab4b31a23313c6ff40e771"
       ],
       "layout": "IPY_MODEL_de5b840fab254148b02bcdb698321cde"
      }
     },
     "93638e38d7a944bfb65812317173dc55": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_2ca6e52429a9489bbc135e2e5271dd96",
       "style": "IPY_MODEL_d558564d841d44c99258a6ee9d3bdb00"
      }
     },
     "9476ea9e320442ac88c06ce76133d224": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_45a83121acd4459cb1f73da34de3c784",
       "placeholder": "",
       "style": "IPY_MODEL_9f491c57fa2640cd9a1ac9e116080446",
       "value": "Nanog"
      }
     },
     "975289a12d814e8fb166fdc22f189c96": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "976efc14976d40f48d7316934b086464": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_d0b8587727fe4c788e0850a6d113edfc",
       "style": "IPY_MODEL_7275946239eb43c08c87beadcef9d2bf"
      }
     },
     "97906c487607452db31b87984ed7d280": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "97f9f44c408a4ebca71cca2868e6edab": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_1a11448865214ef6a637f5eceb38106f",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 32044 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "99113f6990a1485987d8f0aab5f83975": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [],
       "layout": "IPY_MODEL_d9a64228fd224130a7663f3125308b5c",
       "rows": 5,
       "style": "IPY_MODEL_7e844ea37a4e40f884337ce7e381d4ce"
      }
     },
     "9962e91d59af4cfcbda7f43e15d7fe45": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_4d88a213db53404791328ca2cae9c97c",
       "placeholder": "",
       "style": "IPY_MODEL_b1f1388f0d404591aac8a2192c5dfb87",
       "value": "Nanog"
      }
     },
     "9a932ad5b68c4033bdc218f0f093d1eb": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_ecee85eba09943a88d48586368703e1a",
       "placeholder": "",
       "style": "IPY_MODEL_ae98a4798bf54acaae7b08f8764d940e",
       "value": "Tdgf1"
      }
     },
     "9aca4f284f0542d588e4f9040266bf1c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "9bae708964ea4b43a951d84a4ce78633": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "9c48e523bc8948cd88606c4662cda73a": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "9c5870d35bdc412ab495da81e6b19149": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_873cb2a1ece84c628fad868a6d846857",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 27840 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "9f491c57fa2640cd9a1ac9e116080446": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "9f7109abc1864f7a89fcfbe2e021d07c": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_20708f9fc40743c0b49b8f051637b3c8",
        "IPY_MODEL_8d1648f3d49f4ed99b71136cc2df008d",
        "IPY_MODEL_27abb2168a8a414f893d0259781ac16d"
       ],
       "layout": "IPY_MODEL_bda96f6776554719b34efdd2fb076c30"
      }
     },
     "a0acacf3e0b047f1a76ebb76e34f8f13": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_47e1538830c8409f9fee28e9e35c81de",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "a0d6e90bed664cccb43cf5b65d82a89a": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "a3482e3d39bc43d49d7fa9de6d3dee6b": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "a38d4fa6945f4629af17a56ae4bc60e2": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_22426f47dc85455d825cda6ef98a2802",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 111604 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "a3a0401fd40a44878c8a90d16259cace": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_6fcdb59b669440349439b9a483409b7b"
      }
     },
     "a3a49683d2ba473eb42178f3c8f934d1": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "a6bd64f6986244a78f4a4c9a4bb70eb4": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "a7b20484422745a7a7305711b956e189": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "a88e0da9f7eb4295919b11150403265d": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_af9ce427e4f948afaea56846f262a702",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "a9b24eaf827e4f1ba4294fd732e398eb": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "a9e36387a5ba4062b8536f636576623a": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_021bbc16573f4f58b139a5d8ccbcc02f",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "ab1a426a4be54c5997fc2f435e486dfe": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_aede24d839284b7cb6b5de601e4b8751",
        "IPY_MODEL_b29edc4b49e64f97bcdfc9bc3b4dbcd9"
       ],
       "layout": "IPY_MODEL_d6f47caa801147f49225248dc5e46050"
      }
     },
     "acf0bc11a6ad4703b64d66ecefb27885": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "ae5aeb1c46ad48ba8aba0b2e04ee9754": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "ae98a4798bf54acaae7b08f8764d940e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "aede24d839284b7cb6b5de601e4b8751": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_50341235bb2e457cbda52a080d9e95a8",
       "style": "IPY_MODEL_cec40e6e516046839ea2bdaa22b6dcef"
      }
     },
     "af9ce427e4f948afaea56846f262a702": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "afd30bca18c4408d8de3d7480b0bc3d5": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "b07adb22ddba4f57bbf2e707a31cf02d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "b09025a972d04da18971e82c15b440c3": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "b0c2e4bbac2647a99f7cdc15a8c37b24": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "b1d455c29a194c0b808773efc2a6aa07": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_afd30bca18c4408d8de3d7480b0bc3d5",
       "style": "IPY_MODEL_ba56e72e3e6c4803ad9e0a848b54431d"
      }
     },
     "b1f1388f0d404591aac8a2192c5dfb87": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "b29edc4b49e64f97bcdfc9bc3b4dbcd9": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_e693b368ba77446c870212d76fdd25f6",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "b32a394367ab4b31a23313c6ff40e771": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_125eabc3165b4ac39c25b7d246824aaf",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "b50b0ce906b24c0286f04e4ca099812e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "b5278df4cc8c45128ad1e2f1d1b51563": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "b52d42b7ac4a48568da830fbc5e04a81": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_3a43a1468ff3492ca596f43c35c3f7e5",
        "IPY_MODEL_c95deff176394bf18c61db434fdcd3e1",
        "IPY_MODEL_c274ab4b597a40af9c34b338508d3baf"
       ],
       "layout": "IPY_MODEL_158bd577433e4ff0a3b692f34a7991ce"
      }
     },
     "b54a54204c6547728f9744850542d7d4": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "b5e798971b264ef49dadb3f6b625c7e5": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "b6035e285223451e8835a0cfc9dba5b4": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_bf1fdeea75694521862a4587f1c1df05",
       "placeholder": "",
       "style": "IPY_MODEL_c13545445bb84197902e521c58b2b24e",
       "value": "Nanog"
      }
     },
     "b935e2a9d33f400da566954f33ad181d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "ba56e72e3e6c4803ad9e0a848b54431d": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "bda96f6776554719b34efdd2fb076c30": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "bde5a99f8889427b8c250c984477acde": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "be0ae5ae12ff440482e004c6b430024a": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "bf1fdeea75694521862a4587f1c1df05": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "bf765d598f6240eca76945654de1184a": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "bf80b7fff77d4cc1aad3f8a44788f3a0": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_90fa5a7073594f65ad5af8c97e063729",
        "IPY_MODEL_7a32e71643264ef78fe613dd068eedc7",
        "IPY_MODEL_c5762370d98845a2b67f687105b74c4f"
       ],
       "layout": "IPY_MODEL_1028367e945943a9b34f7d0eb61c1e5d"
      }
     },
     "c0faebb657134c5ea930f2e4f16d5538": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "c13545445bb84197902e521c58b2b24e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "c221f10903334303a5c28fba4999a946": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "c274ab4b597a40af9c34b338508d3baf": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_ff9dc26b7abd4710909127d333c84e34",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 27880 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "c37283ef1e934042b1facd566d235c41": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "c3cde59865c04def9f530f3e953fa1b5": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "c47977d584354a69b74039897c3c8dbf": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_57adc6b0edaa4ebba4fdfbac0acd7fd6",
        "IPY_MODEL_9962e91d59af4cfcbda7f43e15d7fe45",
        "IPY_MODEL_6a4078caca4742eea6d939eced157213"
       ],
       "layout": "IPY_MODEL_b5278df4cc8c45128ad1e2f1d1b51563"
      }
     },
     "c5762370d98845a2b67f687105b74c4f": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_25536873391b408d998de72de57c7ca4",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 28324 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "c6065633ff0743f5b7108d9ab216df90": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_6ec68ff4eb9d4bafb9fecc6afea96c1f",
       "style": "IPY_MODEL_15e66308016d4152bb414903b93cf5a7"
      }
     },
     "c6605d924a7c433ebd9f2defef015c08": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_e268639b7ec84d28bc68e8c19341a7ed",
       "placeholder": "",
       "style": "IPY_MODEL_56515ed6daf04b719118f65e37a8cf51",
       "value": "Nanog"
      }
     },
     "c76327975b8c4c9eaf7bf60959798be7": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "c82c2b1752ab4be38890fb99c69e28dd": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_0225fa27dd474f339642942e91f08bb9",
       "style": "IPY_MODEL_09670d1b0bb843189016d3b878eef56e"
      }
     },
     "c8e5cf9feef74ebca7c5ef15d9cc1c9b": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_52004dac43404bd28caf493aede53a40",
       "style": "IPY_MODEL_1011e81baf264e0683bad4bb763cd450"
      }
     },
     "c95deff176394bf18c61db434fdcd3e1": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_8662c054d4fd44babcf8c1fff39add53",
       "placeholder": "",
       "style": "IPY_MODEL_741168ec1a1540a7a1729b6457e752a3",
       "value": "Nanog"
      }
     },
     "c9d09b70d37a4576b4b1c26bcb9179aa": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_2e0432a175f343498969e93650b93b89",
       "style": "IPY_MODEL_fdbcb9d78a5d4cb695fb60fad278b7f4"
      }
     },
     "cc27964b7e6f4c74827057a2b3ecbdd5": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_50d990ad0b054926bab51a586bea62a9",
        "IPY_MODEL_62090c394a6e4c4782ecf2f6d6f73558",
        "IPY_MODEL_1f43c4381f1a4fe086172155e1797134"
       ],
       "layout": "IPY_MODEL_2d9ce0bdadfb4966a1463061df60739d"
      }
     },
     "cc744bf7e4fc4d1893f1f7c59619d79f": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "ccbe1e62a3194acfbdfd287a09efeac6": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "cd9139f43013454dbb03858e0bfb3539": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_45760d821a564765b1783164ef6d14e0",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "cec40e6e516046839ea2bdaa22b6dcef": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "cf0d47e79c0a44de88ad5bc655b8c745": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_5331acc9511440cfb28f308225f410d2",
       "outputs": [
        {
         "data": {
          "text/plain": "<Figure size 720x720 with 0 Axes>"
         },
         "metadata": {},
         "output_type": "display_data"
        }
       ]
      }
     },
     "cff8aa9a79e54943a9cb0de04b34245a": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0,
        1
       ],
       "layout": "IPY_MODEL_873227c334034456a4c29d8de54fec88",
       "rows": 5,
       "style": "IPY_MODEL_7ffbdd5705ec430b98acb0282b028f8f"
      }
     },
     "d0a08e3cee9f44deb25a4e2bbd86139f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_c8e5cf9feef74ebca7c5ef15d9cc1c9b",
        "IPY_MODEL_889a2f69674b4a13a089b2abe5ed419c"
       ],
       "layout": "IPY_MODEL_0dc4bc40b09e48a0840dec6b6e3a5966"
      }
     },
     "d0b8587727fe4c788e0850a6d113edfc": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d0c7b8ace27b4d2c893c3b8ea48eeba8": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "d1f6b7dab39b41d2ba760c0130ed71c5": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [],
       "layout": "IPY_MODEL_f0cad254533b467bb419857ee1e7b00c",
       "rows": 5,
       "style": "IPY_MODEL_a3a49683d2ba473eb42178f3c8f934d1"
      }
     },
     "d243aff5f9674072bbc1cc7f2e14fc9e": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "d531a854422f43b28ae53a378e49ef36": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_91cd1a4f4d6247918950f7f025d55926",
        "IPY_MODEL_a38d4fa6945f4629af17a56ae4bc60e2"
       ],
       "layout": "IPY_MODEL_f04e1c6b0aba472ca5e4189506e71c0a"
      }
     },
     "d53b0a86c4c34d828684fccdd9dcad92": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d558564d841d44c99258a6ee9d3bdb00": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "d5fb34a196d141759edc45fb54e3c1e8": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_07ba8da997ac45b8a36895072d53667e",
       "style": "IPY_MODEL_b50b0ce906b24c0286f04e4ca099812e"
      }
     },
     "d6ce0003451248b4b464b265db3d84f4": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "d6f47caa801147f49225248dc5e46050": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d71606b1c945407cbc3108e54159fbe6": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "d74d0e706542451e97e4912a436ffcb2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d817ab4e1fa74530befdd9b54e252e3e": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d8c3e311c028466583c89155bddb78f0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d8dd4dbea00b41a385911cfbbe4bb8e2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d94ac01d46994e8988cf713bd460f4b0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "d95a9640d367481a85557bb4308a3ce2": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 1,
       "layout": "IPY_MODEL_8a9d6224363641cd9f7f1a8867688af8",
       "style": "IPY_MODEL_a0d6e90bed664cccb43cf5b65d82a89a"
      }
     },
     "d9a64228fd224130a7663f3125308b5c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "da3420f4fedf4f1fa168edcd6aa83b63": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "db1013ad589c436e95ef38af933729dc": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "db9655e17ba34f60b5f043f9b7278508": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_435821faf20f4fcdb273ad09c5f81794",
        "IPY_MODEL_86ef7ff1ed0b47988ae75ab2a556bc86",
        "IPY_MODEL_06b12a3a11614502b6b77945253e4689"
       ],
       "layout": "IPY_MODEL_0e53980db2d548149a8b713d95a0d5fe"
      }
     },
     "dd74e8d7c6de4336963c8d883542be63": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_0ae034e966e243719f7729dfb4c0eb14",
        "IPY_MODEL_3dc7bde423c14b19a53bfc87f8e5b144"
       ],
       "layout": "IPY_MODEL_29f102b260d045ff977f5d27fc538422"
      }
     },
     "dddc263f6ab64b4ca821ac4d7466f658": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_0354d575d42648a5891b8664f19e0a80",
        "IPY_MODEL_ef37e10beef94c21bae4c56fa1a18a61"
       ],
       "layout": "IPY_MODEL_c76327975b8c4c9eaf7bf60959798be7"
      }
     },
     "dddd0c37bee04a8eae1b46e3b8bd7258": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_e6705c9215d641ccbac76e4c485a7af5",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "de54e780c312409d80e2e24d7c96ab33": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_256b60f038ff41b2a0487674c3c0800d",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 102548 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "de5b840fab254148b02bcdb698321cde": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "df4710230da64b00862410bfb6065620": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e022b61a67814a3dbc97b6ec1a9a232c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e120203e251e45ad966fd60a10b3b6b7": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e1b1565cb38f4d32abdceae1a9755ab7": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e1c74ff5ad0f4d70b4d36f3cfbd661e0": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e268639b7ec84d28bc68e8c19341a7ed": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e27cf2a786034678bbd8e75615da2716": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_99113f6990a1485987d8f0aab5f83975",
        "IPY_MODEL_b6035e285223451e8835a0cfc9dba5b4",
        "IPY_MODEL_cf0d47e79c0a44de88ad5bc655b8c745"
       ],
       "layout": "IPY_MODEL_bde5a99f8889427b8c250c984477acde"
      }
     },
     "e323e99ed1704676b1f04e8a59583a66": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_db1013ad589c436e95ef38af933729dc",
       "placeholder": "",
       "style": "IPY_MODEL_e88fa3cfe1354f6b8c8abf6089d31d0f",
       "value": "Nanog"
      }
     },
     "e6705c9215d641ccbac76e4c485a7af5": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e693b368ba77446c870212d76fdd25f6": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e6c3067f29ce4de6aca48a3fb854fc32": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "e88fa3cfe1354f6b8c8abf6089d31d0f": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "e8f4359258de4aac9ef1c022f674f3cc": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_381212f8e8274c0b99d77f5f56103fb8",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "e8fbe1cc7bf44bff8237f59349a29be3": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_68dab7bae262463aba60b39868dade25",
        "IPY_MODEL_de54e780c312409d80e2e24d7c96ab33"
       ],
       "layout": "IPY_MODEL_a9b24eaf827e4f1ba4294fd732e398eb"
      }
     },
     "e9def08a086449f38a6c54a05c2fe9c2": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "eafb5927dc434aa58670d2c1061589a5": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_01c306cdcfbb4407b9f95af079c2f9f7",
        "IPY_MODEL_a0acacf3e0b047f1a76ebb76e34f8f13"
       ],
       "layout": "IPY_MODEL_482dba14a90a4477a0be46ab447f78eb"
      }
     },
     "ec7b52fa837246ceaefd23bacdca2099": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "ecee85eba09943a88d48586368703e1a": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "ef37e10beef94c21bae4c56fa1a18a61": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_9c48e523bc8948cd88606c4662cda73a",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 98276 characters]\n",
          "text/plain": "<Figure size 720x720 with 2 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "ef4b6d22189043c6a7d222b9b5ff2d71": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_93638e38d7a944bfb65812317173dc55",
        "IPY_MODEL_dddd0c37bee04a8eae1b46e3b8bd7258"
       ],
       "layout": "IPY_MODEL_5f1c14a847954bc1b6fc64ccec37ca17"
      }
     },
     "f0062ab4fec046fa90602c23fc4a55fe": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "SelectMultipleModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": [
        0
       ],
       "layout": "IPY_MODEL_201c71276dee41ea949ff03953401674",
       "rows": 5,
       "style": "IPY_MODEL_f568fb84e0354cf4b595e2411b83c281"
      }
     },
     "f04e1c6b0aba472ca5e4189506e71c0a": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "f0bd9d87118544a39b9cd0c596ef7e2a": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_0e7772a284934a31930c5808f10f89a0",
       "outputs": [
        {
         "data": {
          "image/png": "[encoded data, 45852 characters]\n",
          "text/plain": "<Figure size 720x720 with 1 Axes>"
         },
         "metadata": {
          "needs_background": "light"
         },
         "output_type": "display_data"
        }
       ]
      }
     },
     "f0cad254533b467bb419857ee1e7b00c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "f0f26d5d89714c5188fcb7455b07e382": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "f140ea709c18475b88d60fa9a026f383": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Trophoblast",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 1,
       "layout": "IPY_MODEL_547ca65be247451fafaaece3639e7c3d",
       "style": "IPY_MODEL_52558613a6d94cfbae55fc5f5eb922d9"
      }
     },
     "f2085760e86a4c2ca222cbda5c9eac81": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DropdownModel",
      "state": {
       "_options_labels": [
        "IPS",
        "Stromal",
        "Neural",
        "Epithelial"
       ],
       "description": "Trajectory:",
       "index": 0,
       "layout": "IPY_MODEL_d8c3e311c028466583c89155bddb78f0",
       "style": "IPY_MODEL_f0f26d5d89714c5188fcb7455b07e382"
      }
     },
     "f26c94a9629e44e1bdf94d861a47aa7b": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "f344b775d7ef4346b7a3b5a747a4c126": {
      "model_module": "@jupyter-widgets/output",
      "model_module_version": "1.0.0",
      "model_name": "OutputModel",
      "state": {
       "layout": "IPY_MODEL_c0faebb657134c5ea930f2e4f16d5538"
      }
     },
     "f38066f91a294e28a1da819507379045": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "TextModel",
      "state": {
       "continuous_update": false,
       "description": "Genes:",
       "layout": "IPY_MODEL_cc744bf7e4fc4d1893f1f7c59619d79f",
       "placeholder": "",
       "style": "IPY_MODEL_26b1d1715a6c4b77a67753f9a6ffa168",
       "value": "Gdf9"
      }
     },
     "f3a231e989b5456ca6bc6be7f944b8cc": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "f568fb84e0354cf4b595e2411b83c281": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "f74e3626a13c45d99d153f992750d67d": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "f783891f2793425b96fe82397b7c4b07": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "f93a825226c741e3a731928be58fff3a": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "fb28073432034395a9845a9f9f689c5c": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     },
     "fdbcb9d78a5d4cb695fb60fad278b7f4": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "DescriptionStyleModel",
      "state": {
       "description_width": ""
      }
     },
     "fe0eeecf53424fe883351ac23759d31b": {
      "model_module": "@jupyter-widgets/controls",
      "model_module_version": "1.5.0",
      "model_name": "VBoxModel",
      "state": {
       "_dom_classes": [
        "widget-interact"
       ],
       "children": [
        "IPY_MODEL_6cf708e9a33f4babbb9d304e12aee13f",
        "IPY_MODEL_4dc57edf701f4765ae286901cfe93055",
        "IPY_MODEL_32cf770513a34cb5943dd22368af8489"
       ],
       "layout": "IPY_MODEL_54d792a5ecaa4aa1a7b848f3e4b81fb0"
      }
     },
     "ff9dc26b7abd4710909127d333c84e34": {
      "model_module": "@jupyter-widgets/base",
      "model_module_version": "1.2.0",
      "model_name": "LayoutModel",
      "state": {}
     }
    },
    "version_major": 2,
    "version_minor": 0
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
