R/fit_cluster_model_multiple_images.R
fit_cluster_model_multiple_images.Rd
fit_cluster_model_multiple_images takes in a list containing image point patterns, specific phenotypes may be specified. The function outputs a list containing vectors containing kappa, estimated point intensity and mean cluster size. The function by default displays the data as boxplots
fit_cluster_model_multiple_images( image_point_patterns = NULL, phenotypes_of_interest = NULL, plot = 1 )
image_point_patterns | list containing point pattern objects to be compared |
---|---|
phenotypes_of_interest | string vector containing name of cell phenotype of interest, can be a single or multiple phenotypes. By default it is not specified |
plot | variable to indicate whether to plot the cluster model data, default is to plot, set to NULL if plot is not required |
Inputs - image_point_patterns: list of ppp objects to be analysed plot: Parameter to indicate whether plotting of data is necessary phenotypes_of_interest: Cell phenotypes to be considered when fitting the cluster model