updateSpataObject.Rd
Updates the input object to the newest version of the package.
updateSpataObject(object, method = NULL, verbose = TRUE, ....)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character value or NULL
. If NULL
, the functions tests whether
the barcodes of the input object can be mapped to either of the VisiumSmall
or VisiumLarge
platform. If this does not succeed you must specify the argument. In that case it
should be one of base::names(spatial_methods)
.
Only relevant for updating from SPATA2v2 to SPATA2v3. v3.0.0 and above should not face any problems regarding this.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Used to absorb deprecated arguments or functions.
The updated input object, containing the added, removed or computed results.
SPATA2
objects of version < 2.0.0 can not be updated any longer. If you have such an object
and want to transfer the data, please raise an issue at github.