compute_all_nearest_distance: Nearest neighbors from a file.

Description Usage Arguments Details See Also

View source: R/distance_funcs.R

Description

Compute nearest distance to each phenotype for each cell in a (possibly merged) inForm cell seg table. Add Distance to <phenotype> columns. Write the result to a new file.

Usage

1
compute_all_nearest_distance(cell_table_path = NULL, out_path = NULL)

Arguments

cell_table_path

Path to an inForm cell seg data file, or NULL to prompt for the path.

out_path

Path to the output file, or NULL to create a path from the input file path.

Details

NOTE: The input file is read using read_cell_seg_data so the conversions and cleanup it does will be applied to the output data.

See Also

find_nearest_distance which performs the distance calculation.

Other distance functions: count_touching_cells(), count_within_batch(), count_within_many(), count_within(), distance_matrix(), find_nearest_distance(), spatial_distribution_report(), subset_distance_matrix()


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