View source: R/isolate_territories.R
distance_pooling | R Documentation |
distance pooling beads of colour segment into seperate territories
distance_pooling(img, capture_radius, min_spatial_index)
img |
data frame contain all barcodes of a single sgement |
capture_radius |
numeric proportion of max distance between beads to use as distance threshold between beads |
min_spatial_index |
numeric minimum number of beads that should be contained in a territory. |
Beads that are too far away or bead cluster that are below the minimum number of spatial indices will all be pooled under the isolated label. Note that this label is used across color segments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.