Function to get the dimension based on dim of y axis
Examples
spe <- imcdatasets::Damond_2019_Pancreas("spe", full_dataset = FALSE)
#> see ?imcdatasets and browseVignettes('imcdatasets') for documentation
#> loading from cache
ppp <- SPE2ppp(spe,
marks = "cell_category", image_col = "image_name",
image_id = "E04"
)
getDimXY(ppp, 500)
#> [1] 500 690