Plotting: mc.pl#
Visualization of reconstructed cell shapes, cell-cell forces and the spatial distribution of mechanical communication.
Cell shapes and contacts#
Plotting cell elements |
|
Plot cell shape using alpha shape, visualize cell data by colors. |
|
Render the reconstructed 3D cell shapes with PyVista. |
|
Plot cell-cell contact mechanical signals as colored line segments. |
|
Highlight a group of cells with a unified color overlay using alpha shape. |
Spatial communication#
Visualize contact signals or relationships between cells |
|
Plot spatial directions of cell-cell communication using quiver arrows. |
|
3D Plot spatial directions of cell-cell communication using quiver arrows. |
|
Plot intercellular forces between elements of selected cells using quiver arrows. |
|
Draw the significant communication between spatial domains on top of the tissue. |
Grid-level spatial communication#
Visual check of the cell-to-grid assignment produced by tl.cell2grid. |
|
Draw the grid lines returned by tl.cell2grid as a dotted overlay. |
|
Quiver plot of the grid-level signal directions from tl.signal_direction. |
|
Draw the grid-level signal orientation tensors from tl.signal_tensor. |
Figure helpers#
Draw a standalone colorbar, e.g. one shared by several panels. |
|
Draw a standalone cell type legend, e.g. one shared by several panels. |