1. What mcDETECT expects
1.1 Platform type
Value |
Use case |
|---|---|
|
Z is a small set of optical planes (MERSCOPE, CosMx). Unique |
|
Z is continuous (e.g. Xenium). |
MERSCOPE: use "discrete".
1.2 Transcript table (pandas.DataFrame)
Each row is one transcript. The detector relies on:
Column |
Role |
|---|---|
|
Spatial coordinates (same units as |
|
Gene name string; granule markers must appear here and in |
|
Boolean or 0/1; used to compute in-soma ratio per sphere. |
|
Optional; if you set |
Negative controls are passed as nc_genes and matched via target when filtering is enabled.