Formats an sce object into a ppp object which has the x,y coordinates, phenotypes as markers window specifies the range of x and y coordinates
Arguments
- sce_object
SingleCellExperiment object in the form of the output of format_image_to_sce
- window_pol
Optional Boolean Specifying if the window is polygon
- feature_colname
String specifying the feature column of interest
Examples
ppp_object<-format_sce_to_ppp(SPIAT::defined_image, feature_colname = "Cell.Type")