subset_distance_matrix: Subset the rows and columns of a distance matrix.

Description Usage Arguments Value See Also

View source: R/distance_funcs.R

Description

Subset the rows and columns of a distance matrix.

Usage

1
subset_distance_matrix(csd, dst, row_selection, col_selection)

Arguments

csd

A data frame containing cell segmentation data, such as the result of read_cell_seg_data.

dst

The distance matrix corresponding to csd, produced by calling distance_matrix.

row_selection, col_selection

Selection criteria for the rows and columns. Accepts all formats accepted by select_rows.

Value

The input matrix dst subsetted to include only the rows corresponding to row_selection and columns corresponding to col_selection.

See Also

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


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