useVarForTissueOutline | R Documentation |
This function sets a specified variable from the metadata of the given object to
be used if identifyTissueOutline()
does not produce acceptable results.
useVarForTissueOutline(
object,
var_name,
concavity = 2,
min_obs = nObs(object) * 0.05
)
object |
An object of class |
var_name |
A character string specifying the name of the variable in the metadata to be used for the tissue outline. |
concavity |
Numeric value. Given to argument |
min_obs |
Numeric value. The minimal number of observations a group must have to be considered a tissue section. Defaults to 5% of the total number of observations. Must be higher than 3. |
The updated input object, containing the added, removed or computed results.
createSpatialSegmentation()
to create the outline manually, then use the created
spatial segmentation variable as input for var_name
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.