Read and preprocess inForm data and image files

list_cell_seg_files

Find inForm data files.

read_cell_seg_data

Read and clean an inForm data file.

read_components

Read a component TIFF file.

read_maps

Read an inForm segmentation map file.

Compute and visualize spatial relationships between cells

find_nearest_distance

Nearest neighbor distances for each cell and phenotype.

compute_all_nearest_distance

Nearest neighbors from a file.

count_within

Count cells within a radius for a single field.

count_within_batch

Count cells within a radius for multiple tissue categories, phenotypes and fields.

count_touching_cells

Find and count touching cells for pairs of phenotypes.

spatial_distribution_report

Create a spatial distribution report.

Helpers

select_rows

Flexibly select rows of a data frame.

distance_matrix

Create a distance matrix from cell seg data.

subset_distance_matrix

Subset the rows and columns of a distance matrix.

Sample data

sample_cell_seg_data sample_cell_seg_path sample_cell_seg_folder

Sample cell segmentation data.