A first tour: one focused cell, one focused gene¶
AnnZarro shows big matrices one slice at a time. There is always one focused cell and one focused gene. The focused cell picks its row of every cells × cells matrix (obsp) and of every cells × genes layer; the focused gene picks its column of every layer and its row of every genes × genes matrix (varp). Each plot is coloured, or placed, by whichever slice its controls name. Clicking a point moves the focus, and every panel that depends on it fetches its one new slice.
This tour builds that model in the app, then uses it: it walks a diffusion kernel along haematopoiesis, filters cells with a two-condition table, and saves and shares the result. Along the way you rebuild the focus model of the paper’s overview figure as a live layout, and the screenshots of its interface figure (Overview: focus model, slots and comparison, Interface).
What you need¶
AnnZarro with
bm_aging_annzarro.zarrin its data directory (Quickstart, Demo data).bm_aging_annzarro.zarrworks too; it contains the same fields.These fields:
Slot |
Key |
What it is |
Selected by |
|---|---|---|---|
|
|
cell axes |
|
|
|
cell type (31 levels), age group, Kompot differential abundance z-score (Young to Old) |
|
|
|
five-step diffusion walk, dense 8,090 × 8,090 |
the focused cell’s row |
|
|
Kompot fold change, Old minus Young smoothed log expression |
the focused gene’s column, or the focused cell’s row |
|
|
Spearman ρ of two genes’ fold changes across cells |
the focused gene’s row |
|
|
volcano axes |
Cells and genes used: the old haematopoietic stem cell (HSC)
HSPC_Old_1#GAAGCCCGTGGCTCTG-1and the geneH2-Q7, the paper’s examples.
1. Open the data and set the focus¶
In the header choose
bm_aging_annzarro.zarrin Dataset.Click the Focused Gene box, type
H2-Q7, press Enter. Click the Focused Cell box, type or pasteHSPC_Old_1#GAAGCCCGTGGCTCTG-1, press Enter. Both lists stay open after Enter; press Esc to close them.
The arrows left of each box (“Previous cell”, “Next cell”) step through the history of the focus.
2. One cell, one row¶
Start here: this section’s walk, beside the focused cell’s kernel row (protocol view A)
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.5VNRa9swEP4rQnt1RrwRWP0WPOaWMTrmMAajGNWWYxFZZ6RzG8frf99JToOzdlsfBzP4wXf3fffd3eeR3_EkjngJxqEw6Hgy8hrK3skqlVrzhF_mn9PiWldF_Cpbr7M0TbNNlqWbdJMtYh49VmfSSKrO4-VSXFAYxR4MtMNVRVEKXiz5Q8S1GKBH32Tq2yhphS2bgSffR45D5zlcpxUSRaWsLFGBoVgDVh3AoNCU6ISRLiA6aUtJ0S3hVsswB1rQ7qty6lZTsBbayYfoxZU3lGmUrqw0c0moqCTiyg9T0l4WnQZcrP38T4jQ9qHjn6Fv-O81BBVTLkeB0u_rrOtUGJ3zPc4a1qNTMLXauqfQ8dkpUKEXwNfsB1stHMqOVaque0frZ_dC71htoWXHYzOPJtTe0x3nhFvXUmgn6Zb8W9G3ogsj6r71BwznH15eH_v6A09Mr3UIgz0HdyfwSWjhhRa4mvP8zb4ayp2sZssDZTBXB-ry9vh13YlSIXVavn53lJKXIqzrErxRG7VtNL34Yf7neB9QDu6kvTI1zO1E8k_qC2Uqueczx8yzntpKV_iFh_TkDZLwRRKx89Inw_1ihvFZx83P7DpBePb-U_FRWnIMs3DPoP43b3xS-T_elp6f
Panel set file: protocol-A-kernel-walk.json. The link is
ready for a local server; what to change for yours.
In the Welcome tile, under “Create New Panel”, click Cell Plot. A new panel opens with its controls showing. Set:
X
obsm·X_umap·0; Yobsm·X_umap·1.Color
obsp·diffusion_walk_t5. The third dropdown now reads “Focused cell HSPC_Old_1#…”: the colour is that cell’s row.Map
Blues, then click Reverse, so that a cell the walk does not reach is light grey and the outline of the UMAP stays visible.
The open padlock beside the third Color dropdown means the panel follows the focused cell.¶
Click the title in the tile header and rename the panel “5-step diffusion walk from the focused cell”. Close the controls with the chevron (“Toggle Controls”) in the header.
Each cell’s colour is the probability that a five-step random walk on the diffusion kernel,
started at the focused HSC, ends in that cell. The walk stays among the HSCs: the row’s
largest value is 0.0126, and 90.7% of its mass is on HSCs (figures/NOTES.md of the paper).
3. Click to move the focus¶
Start here: the walk and the cell types as this section sets them up
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.zVNNb5tAEP0raHtpJVxBK0sNtwQpNKdUxaoqVRHawGBWHnbR7pAaW_7vncUfwm3c5pYiceDNx3szb9iKJ5HEoSiNdiQ1OZFsRW3K3kGVAqJIxOf8S1rcY1XEb7Lr6yxN02yRZekiXWSzWITH7Aw0cHYeR5G8Ypjk2mjTDncVowxeRWIXCpSD6cmT7HkbBVbashlE8mMraOh8D9ehIm5RKQslKaMZa4xVG6NJIgc6qcGNFR3YEhhdct08Gucga9B9U049IoO1RAe78MWZDxxpFFYW9FQSKU4JhfLDlLyXWYeGZrd-_suUf6_9cLn2YZSxj-UkCfzCzmj3ieF5vyPzuB9Mja7V0v1Zun12DFLkBYj5zBF0QaXqune8--CnxFVQW9MG1EBwcDvw1Vy19u0Oc5pH1zK0AjZTfC_6VnbjiNi33sHR_-Hl-bHP34hE94gjbOx5cXcqPoktvNiC5tM-_7pfNOUKqsnyjNKUqw2zfDx83XeyVMRM0ftP_maXDfJLt9P_hGzPfjTmCeydrs30eFjrSWqhdAVrMTmPadS3tuAKv90xvD8EHj0v5WjPDfbgxAH8CszmvHjPvvv9HLbP3tzRaC878CQueDt1NTjNB9W7V7b48mImXcT_Z9qOn18
Panel set file: interface-focus-sequence.json. The link is
ready for a local server; what to change for yours.
To see where each click lands, put a cell-type map beside the walk.
Click “Split Horizontally” (the first of the two split icons in the tile header). In the new “Add New Panel” tile choose Cell Plot: UMAP axes as before, Color
obs·highres_celltype, Palette “As stored in adata.uns”. Close its controls.Hover over cells in the walk panel: the label shows the cell ID and
highres_celltype. Click a GMP in the middle of the central cluster, near UMAP (12, 3). The paper clickedHSPC_Old_3#GGGTATTAGGCCGCTT-1. The header’s Focused Cell changes, and the walk panel fetches that cell’s row (8,090 numbers) and recolours.Click a cMoP near (12.5, 8), for example
Mature_Young_1#CAAGGGATCCCGTAAA-1.Click a monocyte near (10, 7.5), for example
Mature_Young_1#CAACCAAGTATACCCA-1.
Each colour bar is scaled to its own row: the HSC’s walk peaks at 0.0126, the GMP’s at 0.0047, because a progenitor’s walk spreads over more cells. The colour-bar title ends with the ID of the cell whose row is shown. The arrows beside Focused Cell replay the sequence.
Note
Paper, interface, panel b. These four frames are panel b of the paper figure.
How similar are these cells really? uses this panel to ask what a kernel row says that the UMAP does not.
4. The four slices of the focus model¶
Start here: the four slices this section builds
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.1VZdb9MwFP0rkXngpWUNaAL6tkVa2AMa0AmB0BS5yU1i1bEj2-nalf13rvOlNGRNJxBjlfqQ6_t57vFJdmRN5u6EhFJoQ4XRZL4jsQwLDZEHnJM5-bD45AVXPArcF_7Zme95nn_t-961d-1PXTJpvH0QYL1fTz-_RauhGylktr2M0OjOZu9n5H5CON3KwtgaVdmUgaIqTLdk_mNHzDa3KXTOmcEUEVMQGiYF2lKp2J0UhnI8yKkAXUbkoEJAa4Jxp7NyDKMk11-ZZkuOxphyDfeToz1v8CRlPFIgxlpagzIsfKKGDEOXCWEW3RD3NM25NNMLl5JDNUeCw4eDbzrh_zUYCdKwmWf5WDC6wdEhMG7KVqrThaEGLKX391D5TnoNNdZ92Id8o7bVElHuSRGzRA8U2g3TwDBjWyb2Gjs6pMaAcn469XV1rPtL7Sh568jYkUudn0QsjguNCw1uKV8F5hSzbGz-Gip0ytC0Aryu5FtQZDQvQeJFZjlQ3vDt8f6u9b8jc1FwXpql2g_O2-Chzto8YwLFZbiCLpySCbNgd1jlTf10ldOQGaw0e_XOqlKScvybi64QGlXgilKJVL8UsewSEHttWw2YiGBDOgzrntrUCnRg0S-PKyLh6Au8Pdb7nBegSW38AlhN2-Zt9fvf2LQbJn2zeqvJo6s3KeAJj6ZhSkUCDmo0qN7m11S1I6xklksTRBB8l4VIAiNL8DOgIuBx2N1MnxDHpKEp5VTIJdP9TA9Spen4YGI7YlCN-JfIc3oUear34gHydEFpyNMnxZfovLBdo0aCYiI5Q91dQ8uKnprshqV9RBAsiZAVFTLHEuOfSsIf7bn-LnleYjCy9977Yjf8FhtRg3rvtRogG_MTnQNVGd7nfTCfjyLYKdq8D0zzGGo8wVW3to8M-5u6zRPdlB_Ntk-vfDuUk1RkwN8v
Panel set file: overview-focus-model.json. The link is
ready for a local server; what to change for yours.
The walk panel uses one of four kinds of slice. This section puts all four on screen: a 2 × 2 grid whose left column holds cell scatters and right column gene scatters, with the top row driven by the focused cell and the bottom row by the focused gene.
Close the cell-type panel (× in its header), then focus the HSC again (step 2).
Top right: the focused cell’s row of a layer. Click “Split Horizontally” on the walk tile and choose Gene Plot. Set X
var·kompot_de_Young_to_Old_mean_lfcand Yvar·kompot_de_Young_to_Old_mahalanobis(a volcano), Colorlayer·kompot_de_Young_to_Old_fold_change. The third dropdown reads “Focused cell …”. Choose MapRdBuand click Center at 0.Bottom left: the focused gene’s column of the same layer. Click “Split Vertically” (the second split icon) on the walk tile, choose Cell Plot, UMAP axes, Color
layer·kompot_de_Young_to_Old_fold_change(third dropdown “Focused gene H2-Q7”), MapRdBu, Center at 0.Bottom right: the focused gene’s row of varp. Click “Split Vertically” on the gene plot, choose Gene Plot, volcano axes, Color
varp·spearman_fold_change(third dropdown “Focused gene H2-Q7”). Choose MapRdBu, type-1in Min and1in Max, and click Lock Range, so that a colour means the same ρ for every gene you focus.
Controls of the bottom-right panel.¶
Close all controls.
Focused cell HSC, focused gene H2-Q7. Top left: the HSC’s row of the walk. Top right: the HSC’s fold change for each gene. Bottom left: H2-Q7’s fold change in each cell. Bottom right: each gene’s ρ with H2-Q7; H2-Q7 itself is the large dot at the top right (mean log₂ fold change 0.37, Mahalanobis distance 15.2).¶
Click a monocyte in the top-left panel, near (10, 7.5). The screenshot below clicked
Mature_Young_1#AGAGAATCACTTCATT-1.
One click on a cell recolours the top row only: the walk now spreads over the monocytes, and the gene scatter shows this monocyte’s fold changes, from −0.39 to +0.40 against −1.35 to +1.11 for the HSC. The bottom row depends only on the focused gene and did not change.¶
Click
H2-Aain the bottom-right volcano: mean log₂ fold change 0.14, Mahalanobis distance 12.6, below and left of H2-Q7. Hover to confirm the name.
One click on a gene recolours the bottom row only: H2-Aa’s fold change in every cell (median −0.60 in naive B cells, +1.41 in memory B cells, the two clusters at the left) and its ρ with every gene, where the MHC class II genes near it turn red (Which genes respond together? follows this module). In both gene scatters the large dot moved to H2-Aa.¶
Note
Paper, overview, panel a. The four panels are the four arrows of the focus-model diagram, each ending in a scatter.
5. Lock a panel and move the focus past it¶
Start here: the four slices of section 4
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.1VZdb9MwFP0rkXngpWUNaAL6tkVa2AMa0AmB0BS5yU1i1bEj2-nalf13rvOlNGRNJxBjlfqQ6_t57vFJdmRN5u6EhFJoQ4XRZL4jsQwLDZEHnJM5-bD45AVXPArcF_7Zme95nn_t-961d-1PXTJpvH0QYL1fTz-_RauhGylktr2M0OjOZu9n5H5CON3KwtgaVdmUgaIqTLdk_mNHzDa3KXTOmcEUEVMQGiYF2lKp2J0UhnI8yKkAXUbkoEJAa4Jxp7NyDKMk11-ZZkuOxphyDfeToz1v8CRlPFIgxlpagzIsfKKGDEOXCWEW3RD3NM25NNMLl5JDNUeCw4eDbzrh_zUYCdKwmWf5WDC6wdEhMG7KVqrThaEGLKX391D5TnoNNdZ92Id8o7bVElHuSRGzRA8U2g3TwDBjWyb2Gjs6pMaAcn469XV1rPtL7Sh568jYkUudn0QsjguNCw1uKV8F5hSzbGz-Gip0ytC0Aryu5FtQZDQvQeJFZjlQ3vDt8f6u9b8jc1FwXpql2g_O2-Chzto8YwLFZbiCLpySCbNgd1jlTf10ldOQGaw0e_XOqlKScvybi64QGlXgilKJVL8UsewSEHttWw2YiGBDOgzrntrUCnRg0S-PKyLh6Au8Pdb7nBegSW38AlhN2-Zt9fvf2LQbJn2zeqvJo6s3KeAJj6ZhSkUCDmo0qN7m11S1I6xklksTRBB8l4VIAiNL8DOgIuBx2N1MnxDHpKEp5VTIJdP9TA9Spen4YGI7YlCN-JfIc3oUear34gHydEFpyNMnxZfovLBdo0aCYiI5Q91dQ8uKnprshqV9RBAsiZAVFTLHEuOfSsIf7bn-LnleYjCy9977Yjf8FhtRg3rvtRogG_MTnQNVGd7nfTCfjyLYKdq8D0zzGGo8wVW3to8M-5u6zRPdlB_Ntk-vfDuUk1RkwN8v
Panel set file: overview-focus-model.json. The link is
ready for a local server; what to change for yours.
A lock pins one panel’s slice to the cell or gene it shows now, while the other panels keep following the focus. This is how you compare two cells or two genes side by side (Where does a gene change, and how do two cells differ? compares two cells gene by gene this way).
Open the top-left panel’s controls and click the padlock right of the third Color dropdown. It turns blue and its tooltip reads “Unlock (follow focused element)”.
Close the controls and focus the HSC again from the header.
The header names the HSC and the top-right panel shows its fold changes again. The locked walk panel still shows the monocyte’s row; its colour-bar title names the cell it is locked to.¶
The dark dot in every cell panel, the locked one included, marks the focused cell (the HSC). While a panel is locked and the focus differs, a crosshair button (“Refocus to current selection”) appears beside the padlock. It makes the locked cell the focused cell again, so the other panels catch up with the locked one; the panel stays locked. Click the padlock again to make the panel follow the focus.
6. Four linked panels with a table¶
Start here: the four linked panels this section builds
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.zVZba9swFP4rQntpIRlJ27At0IfUpWkZW7amjI1RjGLLtogiGUnOciH_fUeyndpukoYOtgXy4KNz_z6dozWe4363hQMptCHCaNxf40gGmaahRznHfXw7_uL5Ix763TfDwWDoed7wYTj0HryHYbuLW6X2kApqtc_aX9-B1JCFFHK2vAtB2O10PnTwpoU5WcrM2Bh52IRRRVSQLHH_5xqbZWpd6JQzAy5CpmhgmBQgS6RiKykM4XCQEkG1s0ipCihIY7DrdVwZRkmuvzHNJhyEEeGablpHaz7CScJ4qKh4KaU5VYYF_yghw0ClhZntbgA4tVMuTXtk8dgf8rDt-X7bx4r1q1px0Tu6Fb0_aUUMJCzKOXtVKwwBvfbo4lAvHl0m-enYEEMtn2sg5KqtejqlsNbymnAbvMzTdZN7UkQs1s-jrHfib5ix2eJeWxuaopBFUaYBJ_SL8CmKlJwhk1BUXFtkrcFqYd0VXZETPQPRlMK1xN_9bEZS1w-ezSza7iYvj9fvWv0V7ouMcyeWqm6cbo23yfo2Wd_0qn5eGkRcBlMaVponmTBjtoIo58XXKCUBMxCp8_a9nT5xwuFvbqoDz6gMAEkkkPpORLJKNch1m6rPREgXuEKm6ql1raj2bXfdcc4ZKH0M98RqX_GMalwI7ylE0zZ5G33TZM56J7tLoD_KWSoNmkseECFbyHrMFLpE45QSNSMCnUSSA9IJETE9RUZuwbceG-DPidpWMXWe_ZD6P2QmYt9I1_8ZJcLnUVAFp8mJY9yQhHDIeMJ009NetoDbJ7booj7flufn5dUIU-yiA8ToHUWMfLcdIEa12pIYTcDvw6usxPsTg_za3fKLLNw2tHl6jg6ukpIL9YGx3jm4Sy7cPAGNTly3LdzQ7VMko9q93wH9X7338BSgL1Lk9cD-hze-JACsOqqYiAewPucNmJ9WwHr3ViqBtplrFDEOvgDNydINcmQjo5PbsXe67ZfeV8-zjOuXcKfNID5KrYST1OGEmeGvdCBVwwl0SlP7DrzKYL9TlW88t_AUs80irgbYuSErnhyX9glCDNldB7wW4-v8FNLymxoweuACtrZPGmPhgO85gaEMoWDVeNiteS5jFti6P1_jjf39Bg
Panel set file: interface-overview.json. The link is
ready for a local server; what to change for yours.
The paper’s overview screenshot combines a walk, a volcano, a fold-change map and a cell table. From the grid of section 4:
Unlock the walk panel, and focus
H2-Q7and the HSC again.In the top-right gene plot (the cell’s row of the layer), change Color to
varp·spearman_fold_changewith MapRdBu, Min-1, Max1and Lock Range, as in step 12. Close the bottom-right volcano with × in its header; the top-right one now holds the same view.Click “Split Vertically” on the top-right volcano and choose Cell Table. In its controls, under “Available Columns” on the
obstab, tickAge,highres_celltypeandkompot_da_Young_to_Old_lfc_zscore(type in “Search obs…” to find them) and click Apply Changes. In “Advanced Search” click Add Condition and sethighres_celltype·Equals·HSC.Close all controls.
The table reads “Showing 1 to 25 of 319 entries (filtered from 8,090 total entries)”: all 319 HSCs. Click a cell ID in the table and it becomes the focused cell.¶
Note
Paper, interface, panel a. This layout is panel a of the paper figure.
7. Filter cells with two conditions and mask a plot¶
Start here: the filtered table and the masked UMAP (protocol view E)
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.nVRta9swEP4rRvvqjKRbYQ2skLqt1w9ry5yNjVKMYl9sUVky0jmrE_Lfd5KT1UkTVhbIB9899_bco1uxBRuPQpZpZZErtGy8YnOdNRbyCKRkY_YluY_SO5mno3fxZBJHURRP4ziaRtN4MGLhFh2DAkIno-GQn5EZ-bNWumpvcrKS8WzI1iGTvNUNuiJd3VKA4SYrWzZ-WDFsa5fD1lIgpciFgQyFVmQrtRFLrZBLctRcgfURNZgMyFpQ3MdTPwcaLe0PYcVMknHOpYV1uIs8PY58JE8pZG5A9VtCQZCQCTdMRrwMkFPQ4MoRcLzmseBaahxcnRyPffR9dL4EOYJjbLduhwx3E25Le4ZkpNVcFPZA7OrwJCjQ9UArj4LfAsvgchIsBzbTBoLzoOtXNpWyfWr0zJLjCVq3JVGUBmzqEnv3NoJ8rMdIP-ZJV7XGNOfpL92oIkXt1SbnWbr0pd-SZFLswYg_C05ZFw1tE0zHhafCCAQjuJ-BOM7FRmKfneQ48sNzkP6Ky85LhdN9RFpxoRyFGwmjEaqg7wWXDRkeHKfs0XXfL3n-UvItNOz18M-QvaZUU_U7OmFeZlIXInMU3l6y9XpfUKuDst0K5fvXyX1QcfsEeTBrAywh8HIK5kISyYR8dileFlb93djPtKl43V-aPxDt2_Ejh1-ysWqk9GZtdoP_W2Ks1kJhIpaU6MPm667mmUDKNnz_KfQCkfTH6_6tRNPQiyz1AsyNmutjryQVKofnY1J-pb3uFtB0ScY969_yi8Z1TOcMnMwmdCQXsC3vF3Dd8f_6iZcih1utkmZmAbf3gn5_AA
Panel set file: interface-table-filter.json. The link is
ready for a local server; what to change for yours.
A cell table’s “Advanced Search” holds any number of conditions combined with AND or OR, nested if needed. A plot can take the rows that pass as a mask (“Table filter”). The mask needs no new data from the server, because the plot already holds every cell.
Start a new layout (or split any tile) with a Cell Table: tick
Age,highres_celltypeandkompot_da_Young_to_Old_lfc_zscore, Apply Changes.Add Condition:
highres_celltype·Equals·HSC.Add Condition again:
kompot_da_Young_to_Old_lfc_zscore·Greater Than· type2. The vertical AND button left of the conditions combines them; click it to switch to OR. The footer reads “Showing 1 to 25 of 290 entries (filtered from 8,090 total entries)”.
The table with its controls open (column chooser at the top) and the two conditions.¶
Click “Split Horizontally” on the table and add a Cell Plot: UMAP axes, Color
obs·kompot_da_Young_to_Old_lfc_zscore, MapRdBu, Center at 0.In the plot’s controls set Table to the table (it is listed by its title). Cells the filter removes turn grey; the eye button beside it (“Toggle between colouring non-table entries in grey or completely removing them”) hides them instead.
290 cells “In table” and 7,800 “Not in table” (grey): the 290 of 319 HSCs whose abundance z-score is above 2, all in the HSC cluster. Edit a condition and the mask follows at once.¶
Note
Paper, interface, panel c. This view is panel c of the paper figure.
The search box above the table (top right) narrows the rows further, on top of the conditions.
Click .* (“Regular Expression Mode”) under the search box, so the search is a regular expression, and type
(Mid|Old). The footer reads “Showing 1 to 25 of 286 entries”: the HSCs above z = 2 from Mid and Old mice. The plot follows: 286 cells “In table”, 7,804 grey.
A regular expression in the search box, combined with the two conditions.¶
Keep the parentheses. With smart search on (the wand, the default),
Mid|Oldwithout them matches only 56 rows, the Mid ones, because the search wraps the whole term in a pattern that tiesOldto the start of the row. A plain word works in either mode:Oldalone finds the 230 Old HSCs.Open the table’s controls and click Export CSV. The file, named after the table title and the date, holds the 286 rows that pass, with the columns of the table:
Cell ID,Age,highres_celltype,kompot_da_Young_to_Old_lfc_zscore. Close the controls and click a cell ID in the table: that cell becomes the focused cell everywhere.
Open the views¶
Every section with a Start here box, here and in the other tutorials, has a share link to its view, so you can start at any section. The links are written for the server of Quickstart:
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1...
└─────────┬─────────┘ └─────┬─────┘ └─┬─┘
1. your server 2. the store 3. the view
1. Your server address. Replace
http://127.0.0.1:8000with the address you open AnnZarro at (another port, a remote host, an SSH tunnel’s local port).2. The store.
dataset_path=bm_aging_annzarro.zarr(orbm_aging_annzarro.zarr) is a file name: the server looks for it in its data directory (--data-dir, default~/annzarro-data). If the store is there, leave it. If it is elsewhere, replace the name with the store’s absolute path; only a local single-user server opens paths outside the data directory (Login, users and permissions).3. The view: everything after
#view=(layout, panels, focus). Copy it unchanged.
The same panels as a file: download the box’s panel set file and load it with Load Panel Set > Upload file (Load a panel set file), then Load; the link opens the layout directly. The file names its store by file name too, and does not depend on the server address.
The views of this tour:
Sections 4 and 5: the four slices of the focus model
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.1VZdb9MwFP0rkXngpWUNaAL6tkVa2AMa0AmB0BS5yU1i1bEj2-nalf13rvOlNGRNJxBjlfqQ6_t57vFJdmRN5u6EhFJoQ4XRZL4jsQwLDZEHnJM5-bD45AVXPArcF_7Zme95nn_t-961d-1PXTJpvH0QYL1fTz-_RauhGylktr2M0OjOZu9n5H5CON3KwtgaVdmUgaIqTLdk_mNHzDa3KXTOmcEUEVMQGiYF2lKp2J0UhnI8yKkAXUbkoEJAa4Jxp7NyDKMk11-ZZkuOxphyDfeToz1v8CRlPFIgxlpagzIsfKKGDEOXCWEW3RD3NM25NNMLl5JDNUeCw4eDbzrh_zUYCdKwmWf5WDC6wdEhMG7KVqrThaEGLKX391D5TnoNNdZ92Id8o7bVElHuSRGzRA8U2g3TwDBjWyb2Gjs6pMaAcn469XV1rPtL7Sh568jYkUudn0QsjguNCw1uKV8F5hSzbGz-Gip0ytC0Aryu5FtQZDQvQeJFZjlQ3vDt8f6u9b8jc1FwXpql2g_O2-Chzto8YwLFZbiCLpySCbNgd1jlTf10ldOQGaw0e_XOqlKScvybi64QGlXgilKJVL8UsewSEHttWw2YiGBDOgzrntrUCnRg0S-PKyLh6Au8Pdb7nBegSW38AlhN2-Zt9fvf2LQbJn2zeqvJo6s3KeAJj6ZhSkUCDmo0qN7m11S1I6xklksTRBB8l4VIAiNL8DOgIuBx2N1MnxDHpKEp5VTIJdP9TA9Spen4YGI7YlCN-JfIc3oUear34gHydEFpyNMnxZfovLBdo0aCYiI5Q91dQ8uKnprshqV9RBAsiZAVFTLHEuOfSsIf7bn-LnleYjCy9977Yjf8FhtRg3rvtRogG_MTnQNVGd7nfTCfjyLYKdq8D0zzGGo8wVW3to8M-5u6zRPdlB_Ntk-vfDuUk1RkwN8v
Section 3: walk and cell types (four clicks)
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.zVNNb5tAEP0raHtpJVxBK0sNtwQpNKdUxaoqVRHawGBWHnbR7pAaW_7vncUfwm3c5pYiceDNx3szb9iKJ5HEoSiNdiQ1OZFsRW3K3kGVAqJIxOf8S1rcY1XEb7Lr6yxN02yRZekiXWSzWITH7Aw0cHYeR5G8Ypjk2mjTDncVowxeRWIXCpSD6cmT7HkbBVbashlE8mMraOh8D9ehIm5RKQslKaMZa4xVG6NJIgc6qcGNFR3YEhhdct08Gucga9B9U049IoO1RAe78MWZDxxpFFYW9FQSKU4JhfLDlLyXWYeGZrd-_suUf6_9cLn2YZSxj-UkCfzCzmj3ieF5vyPzuB9Mja7V0v1Zun12DFLkBYj5zBF0QaXqune8--CnxFVQW9MG1EBwcDvw1Vy19u0Oc5pH1zK0AjZTfC_6VnbjiNi33sHR_-Hl-bHP34hE94gjbOx5cXcqPoktvNiC5tM-_7pfNOUKqsnyjNKUqw2zfDx83XeyVMRM0ftP_maXDfJLt9P_hGzPfjTmCeydrs30eFjrSWqhdAVrMTmPadS3tuAKv90xvD8EHj0v5WjPDfbgxAH8CszmvHjPvvv9HLbP3tzRaC878CQueDt1NTjNB9W7V7b48mImXcT_Z9qOn18
Section 6: four linked panels
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.zVZba9swFP4rQntpIRlJ27At0IfUpWkZW7amjI1RjGLLtogiGUnOciH_fUeyndpukoYOtgXy4KNz_z6dozWe4363hQMptCHCaNxf40gGmaahRznHfXw7_uL5Ix763TfDwWDoed7wYTj0HryHYbuLW6X2kApqtc_aX9-B1JCFFHK2vAtB2O10PnTwpoU5WcrM2Bh52IRRRVSQLHH_5xqbZWpd6JQzAy5CpmhgmBQgS6RiKykM4XCQEkG1s0ipCihIY7DrdVwZRkmuvzHNJhyEEeGablpHaz7CScJ4qKh4KaU5VYYF_yghw0ClhZntbgA4tVMuTXtk8dgf8rDt-X7bx4r1q1px0Tu6Fb0_aUUMJCzKOXtVKwwBvfbo4lAvHl0m-enYEEMtn2sg5KqtejqlsNbymnAbvMzTdZN7UkQs1s-jrHfib5ix2eJeWxuaopBFUaYBJ_SL8CmKlJwhk1BUXFtkrcFqYd0VXZETPQPRlMK1xN_9bEZS1w-ezSza7iYvj9fvWv0V7ouMcyeWqm6cbo23yfo2Wd_0qn5eGkRcBlMaVponmTBjtoIo58XXKCUBMxCp8_a9nT5xwuFvbqoDz6gMAEkkkPpORLJKNch1m6rPREgXuEKm6ql1raj2bXfdcc4ZKH0M98RqX_GMalwI7ylE0zZ5G33TZM56J7tLoD_KWSoNmkseECFbyHrMFLpE45QSNSMCnUSSA9IJETE9RUZuwbceG-DPidpWMXWe_ZD6P2QmYt9I1_8ZJcLnUVAFp8mJY9yQhHDIeMJ009NetoDbJ7booj7flufn5dUIU-yiA8ToHUWMfLcdIEa12pIYTcDvw6usxPsTg_za3fKLLNw2tHl6jg6ukpIL9YGx3jm4Sy7cPAGNTly3LdzQ7VMko9q93wH9X7338BSgL1Lk9cD-hze-JACsOqqYiAewPucNmJ9WwHr3ViqBtplrFDEOvgDNydINcmQjo5PbsXe67ZfeV8-zjOuXcKfNID5KrYST1OGEmeGvdCBVwwl0SlP7DrzKYL9TlW88t_AUs80irgbYuSErnhyX9glCDNldB7wW4-v8FNLymxoweuACtrZPGmPhgO85gaEMoWDVeNiteS5jFti6P1_jjf39Bg
Section 7: two-condition filter masking a UMAP
http://127.0.0.1:8000/?dataset_path=bm_aging_annzarro.zarr#view=z1.nVRta9swEP4rRvvqjKRbYQ2skLqt1w9ry5yNjVKMYl9sUVky0jmrE_Lfd5KT1UkTVhbIB9899_bco1uxBRuPQpZpZZErtGy8YnOdNRbyCKRkY_YluY_SO5mno3fxZBJHURRP4ziaRtN4MGLhFh2DAkIno-GQn5EZ-bNWumpvcrKS8WzI1iGTvNUNuiJd3VKA4SYrWzZ-WDFsa5fD1lIgpciFgQyFVmQrtRFLrZBLctRcgfURNZgMyFpQ3MdTPwcaLe0PYcVMknHOpYV1uIs8PY58JE8pZG5A9VtCQZCQCTdMRrwMkFPQ4MoRcLzmseBaahxcnRyPffR9dL4EOYJjbLduhwx3E25Le4ZkpNVcFPZA7OrwJCjQ9UArj4LfAsvgchIsBzbTBoLzoOtXNpWyfWr0zJLjCVq3JVGUBmzqEnv3NoJ8rMdIP-ZJV7XGNOfpL92oIkXt1SbnWbr0pd-SZFLswYg_C05ZFw1tE0zHhafCCAQjuJ-BOM7FRmKfneQ48sNzkP6Ky85LhdN9RFpxoRyFGwmjEaqg7wWXDRkeHKfs0XXfL3n-UvItNOz18M-QvaZUU_U7OmFeZlIXInMU3l6y9XpfUKuDst0K5fvXyX1QcfsEeTBrAywh8HIK5kISyYR8dileFlb93djPtKl43V-aPxDt2_Ejh1-ysWqk9GZtdoP_W2Ks1kJhIpaU6MPm667mmUDKNnz_KfQCkfTH6_6tRNPQiyz1AsyNmutjryQVKofnY1J-pb3uFtB0ScY969_yi8Z1TOcMnMwmdCQXsC3vF3Dd8f_6iZcih1utkmZmAbf3gn5_AA
The same panels as panel set files (Load a panel set file):
overview-focus-model.json,
interface-focus-sequence.json,
interface-overview.json,
interface-table-filter.json.
What you learned¶
The focused cell picks rows (obsp, a layer’s cell row); the focused gene picks columns and rows (a layer’s gene column, varp). Any panel can be coloured by any of them.
A click on a point moves the focus; every panel that follows it reads one new slice.
A lock pins a panel to its current cell or gene, so two states can be compared.
A table filter combines conditions with AND or OR and masks linked plots without new reads.
A share link opens the dataset, focus, layout and panels; a panel set, stored on the server under a name, opens the dataset, focus and panels in their layout with Load.
Next: How similar are these cells really? asks how similar cells really are, reading a kernel or distance row instead of trusting the UMAP.
Screenshots and views are made by docs/_tools/shoot_figs13.py, which follows the paper’s
figures/screenshots.py.