cache and/or retrieve path to an ome.tif file for demonstration

cache_mtif(
  cache = BiocFileCache::BiocFileCache(),
  url =
    "https://mghp.osn.xsede.org/bir190004-bucket01/BiocXenData/morphology_focus_0001.ome.tif"
)

Arguments

cache

defaults to BiocFileCache::BiocFileCache()

url

location where tiff file can be retrieved

Value

path to cached resource

Note

The tiff file was retrieved after running SFEData::XeniumOutput("v2"), and depicts a pancreas tissue sample.

Examples

pa = cache_mtif()
if (!requireNamespace("tiff")) stop("install tiff package to run this example")
x = tiff::readTIFF(pa)
plot(0, xlim=c(0,1000), ylim=c(0,1000),xlab=" ", ylab=" ")
rasterImage(x*5.5, 0, 0, 1000, 1000)