Displays the segmentation of a specified sample that was drawn with SPATA::createSegmentation().

plotSegmentation(object, of_sample = "", pt_size = 2, pt_clrp = "milo")

Arguments

object

A valid spata-object.

of_sample

The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen.

pt_size

The size of the points specified as a single numeric value.

pt_clrp

The color panel to be used if the specified variable displayed by color is categorical/discrete. Run all_colorpanels() to see valid input.

Value

Returns a ggplot-object that can be additionally customized according to the rules of the ggplot2-framework.