Produces a scatter plot of the level of a marker in each cell. The level of the marker in all cells is shown, at x-y positions, no matter if cells are phenotyped as being positive or negative for the particular marker.
plot_cell_marker_levels(spe_object, marker, feature_colname = "Phenotype")
SpatialExperiment object in the form of the output of
format_image_to_spe
.
String. Marker to plot.
String. Column containing marker information
A plot is returned
plot_cell_marker_levels(SPIAT::simulated_image, "Immune_marker1")