R/cache_mtif.R
cache_mtif.Rd
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"
)
path to cached resource
The tiff file was retrieved after running SFEData::XeniumOutput("v2"), and depicts a pancreas tissue sample.
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)