count_within_detail: Compute count within for individual cells in a single field.

Description Usage Arguments

View source: R/average_counts_rtree.R

Description

Very fast version using rtree::countWithinDistance().

Usage

1
count_within_detail(csd, phenotypes = NULL, radii)

Arguments

csd

Cell seg data.

phenotypes

Optional list of phenotypes to include. If omitted, will use unique_phenotypes(csd). Counts are from each cell to each phenotype.

radii

The radius or radii to search within.


akoyabio/phenoptr documentation built on Jan. 7, 2022, 5:37 p.m.