R/calculate_cross_k_multiple_images.R
calculate_cross_k_multiple_images.Rd
Inputs - image_point_patterns: List containing point pattern objects of the images of interest phenotype_group1: Names of phenotypes of interest for group 1 phenotype_group2: Names of phenotypes of interest for group 2 names: String vector containing desired names for the two groups of phenotypes, largely for plotting purposes. If not specified groups are named Group1 and Group2. plot: Dictates whether to plot cross K-functions calculated, set to NULL if plotting is not required
calculate_cross_k_multiple_images( image_point_patterns, phenotype_group1, phenotype_group2, names = NULL, plot = 2 )
image_point_patterns | Point patterns to be investigated |
---|---|
phenotype_group1 | Names of phenotypes of interest (Group1) |
phenotype_group2 | Names of phenotypes of interest (Group2) |
names | String vector containing the names of the phenotype groups |
plot | Dictate whether plotting of function is required |
Outputs - k_cross_functions: list containing the data required to plot multiple cross-K functions