pyXenium.contour#
Import polygon contours from a GeoJSON file into |
|
Build a contour-centric multimodal feature table. |
|
Compare cell-type proportions and quantities across contour groups. |
|
Compare contour groups with contour-level pseudobulk expression. |
|
Compare contour groups with transcript-count pseudobulk normalization. |
|
Expand an existing contour layer into a derived contour layer. |
|
Generate per-contour shells whose outward rings exclude other contours. |
|
Generate independent inward/outward signed-distance shells for each contour. |
|
Generate Xenium Explorer-compatible structure annotations via HistoSeg. |
|
Compute inward/outward ring density around contour annotations in |
|
Compute a continuous signed-distance density profile around contour annotations. |
|
Summarize cell-type and gene/program composition inside each contour. |
|
Summarize contour boundary-neighbor and enclosure relationships. |