addSegmentationVariable | R Documentation |
This function adds a new, empty segmentation variable to the metadata of the given object for
further naming within createSpatialSegmentation()
.
addSegmentationVariable(
object,
name,
init_value = "unnamed",
verbose = NULL,
...
)
object |
An object of class |
name |
A character string specifying the name of the segmentation variable to add. |
init_value |
A character string specifying the initial value of each observation. Defaults to unnnamed. |
verbose |
Logical. If (Warning messages will always be printed.) |
... |
Used to absorb deprecated arguments or functions. |
This function checks if the provided segmentation variable name is not already used by a different meta feature, molecule or molecular signature in the object. If the name is unique, it adds the segmentation variable to the object's metadata.
getSegmVarNames()
, getFeatureNames()
, getMetaDf()
, setMetaDf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.