R/format_spe_to_ppp.R
    format_spe_to_ppp.RdFormats an spe object into a ppp object which has the x,y coordinates, phenotypes as markers window specifies the range of x and y coordinates
format_spe_to_ppp(
  spe_object,
  window_pol = FALSE,
  feature_colname = "Phenotype"
)A ppp object is returned (defined in `spatstat` package)
ppp_object<-format_spe_to_ppp(SPIAT::defined_image, 
feature_colname = "Cell.Type")