Reconnect a GiottoClass object
Usage
# S4 method for class 'giottoAffineImage'
reconnect(x, path = NULL, ...)
# S4 method for class 'giottoLargeImage'
reconnect(x, path = NULL, ...)
# S4 method for class 'giottoImage'
reconnect(x, path = NULL, ...)
Examples
f <- tempfile()
a <- GiottoData::loadSubObjectMini("giottoLargeImage")
saveRDS(a, f)
b <- readRDS(f) # expected to be null pointer
b <- reconnect(b) # reconnected to source image
#> Error in .image_path_checks(path): image reconnection attempted, but
#> /Users/george/Documents/GitHub/GiottoData/inst/Mini_datasets/Vizgen/Raw/images/mini_dataset_dapi_z0.jpg
#> does not exist