Description Usage Arguments Value
View source: R/count_touching_cells_fast.R
Fast implementation of count touching cells. This function requires a membrane label image such as created by adaptive cell segmentation in inForm 2.4.3 or newer. It will not work with membrane masks created by older segmentation algorithms.
1 2 3 4 5 6 7 8 9 | count_touching_cells_fast(
csd,
field_name,
export_path,
phenos,
color1,
color2,
discard_dups = FALSE
)
|
csd |
Cell seg data, may include multiple fields |
field_name |
Sample Name or Annotation ID to process |
export_path |
Path to a directory containing composite, component, and segmentation image files from inForm |
phenos |
Named list of phenotype definitions. Must have length 2. |
color1, color2 |
Colors for cells matching |
discard_dups |
If |
Returns a list
containing two items:
An EBImage::Image
of touching cells.
A tibble
containing
data about the touching cells.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.