The phenotype definitions may be NA, in which case the base field will be shown with any available phenotype.
nearest_neighbor_map(
csd,
field_name,
view_number,
export_path,
phenos,
color1,
color2,
show_as = c("from_to", "to_from", "mutual", "none"),
dot_size = 3,
add_logo = TRUE
)
Cell seg data with distance columns
Sample Name or Annotation ID to map
Image index within the composite data
Path to a directory containing composite and component image files from inForm
Named list of phenotype definitions. Must have length 2.
Colors to draw the phenotype dots
Which nearest neighbors should be shown?
Size of the dots used to show phenotypes
Show the Akoya logo in the image?