View source: R/average_counts_rtree.R
Very fast version using rtree::countWithinDistance().
1  | count_within_detail(csd, phenotypes = NULL, radii)
 | 
csd | 
 Cell seg data.  | 
phenotypes | 
 Optional list of phenotypes to include. If omitted,
will use   | 
radii | 
 The radius or radii to search within.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.