
let tissueSegImg = "data:image/png;base64,[encoded data, 5680072 characters]";
let summaryRNATissuebins = "data:image/png;base64,[encoded data, 66172 characters]";
let summaryRNAAllbins = "data:image/png;base64,[encoded data, 227860 characters]";
let summaryProteinTissuebins = "data:image/png;base64,[encoded data, 72804 characters]";
let summaryProteinAllbins = "data:image/png;base64,[encoded data, 249724 characters]";
let microbiomeRNATissuebins = "";
let microbiomeRNAAllbins = "";
let imageDict = {'DAPI': [{'source': 'data:image/png;base64,[encoded data, 6239556 characters]', 'xref': 'x', 'yref': 'y', 'sizing': 'stretch', 'layer': 'below', 'x': 0, 'y': 0, 'sizex': 26460, 'sizey': 26460}]}
let df_colorbar = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABpCAYAAACKyiUgAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMSwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/bCgiHAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAGzElEQVR4nO1cTWhTWRg9976Xv6YmRYSkKS124UaECgPtRihCoBS1ulQkhAoWBKFS/EFQ60IoyCCOUqgbKa5016UgLioFrVoRRkRUJgMyTuK4aENa0/f3zaI2EN+Nk1vf5PX5cuAu8r2bm/NOz3ffffenjIgIPgZ3m4DbaArgNgG30RTAbQJuoymA2wTchu8FUOutWC6XoWlazevBYBDhcNgRUo1EXQKUy2V0RaP4x7Jq1kkmk8jlcp4ToS4BNE3DP5aF2VQKrdyeNSXLQv/Hj9A07ecUYB2tnAsF8DJ+rrvZAJoCuE3AbTQFcJuA2/C9AFKPQRbh4IpdM2Y6xqfhkBJAaVWgCARQTOYYoUZDToAoh6Iq9rjhGJ+GQ0oANa5ADdgFUHXH+DQckg5QoAQFDqj9krjpId8H+FqAuAo1JBBg1SedII8q4GG7AFyqlc0FyT6AQQkLHoNK7YmSzQ5XRoKPHj3CgQMHkEqlwBjDzMxM1XUiwqVLl9De3o5IJIJ0Oo13795V1fn2e7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