setScaleFactor | R Documentation |
Sets scale factor values.
setScaleFactor(object, ...)
## S4 method for signature 'SPATA2'
setScaleFactor(object, fct_name, value)
## S4 method for signature 'SpatialData'
setScaleFactor(object, fct_name, value)
## S4 method for signature 'HistoImage'
setScaleFactor(object, fct_name, value)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
fct_name |
Character value. Name of the scale factor. |
value |
Value to set. |
For S4 methods other than for HistoImage
: Sets scale factors
for the reference image. Corresponding scale factors for additionally
registered images (if there are any) are computed.
If there are no images registered, the scale factor is set in the corresponding list
slot of @scale_factors of the SpatialData
object.
The updated input object, containing the added, removed or computed results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.