| OmeTiffWrapper | R Documentation |
Class representing an OME-TIFF file in a Vitessce dataset.
OME-TIFF object wrapper class
vitessceR::AbstractWrapper -> OmeTiffWrapper
img_pathA local filepath to an OME-TIFF file.
img_urlA remote URL of an OME-TIFF file.
nameThe display name for this OME-TIFF within Vitessce.
transformation_matrixA column-major ordered matrix for transforming this image (see http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/#homogeneous-coordinates for more information).
is_bitmaskWhether or not this image is a bitmask.
is_remoteWhether or not this image is remote.
vitessceR::AbstractWrapper$auto_view_config()vitessceR::AbstractWrapper$get_file_defs()vitessceR::AbstractWrapper$get_local_dir_route()vitessceR::AbstractWrapper$get_local_dir_url()vitessceR::AbstractWrapper$get_local_file_route()vitessceR::AbstractWrapper$get_local_file_url()vitessceR::AbstractWrapper$get_out_dir()vitessceR::AbstractWrapper$get_out_dir_route()vitessceR::AbstractWrapper$get_route_str()vitessceR::AbstractWrapper$get_routes()vitessceR::AbstractWrapper$get_url()vitessceR::AbstractWrapper$get_url_simple()new()Create a wrapper around multiple image objects.
OmeTiffWrapper$new( img_path = NA, img_url = NA, name = "", transformation_matrix = NA, is_bitmask = FALSE, ... )
img_pathA local filepath to an OME-TIFF file.
img_urlA remote URL of an OME-TIFF file.
nameThe display name for this OME-TIFF within Vitessce.
transformation_matrixA column-major ordered matrix for transforming this image (see http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/#homogeneous-coordinates for more information).
is_bitmaskWhether or not this image is a bitmask.
...Parameters inherited from AbstractWrapper.
use_physical_size_scalingWhether or not to scale the image based on the physical size metadata stored in the file.
A new OmeTiffWrapper object.
convert_and_save()Create the web server routes and file definition creators.
OmeTiffWrapper$convert_and_save(dataset_uid, obj_i, base_dir = NA)
dataset_uidThe ID for this dataset.
obj_iThe index of this data object within the dataset.
make_raster_routes()Create a list representing the server routes.
OmeTiffWrapper$make_raster_routes(dataset_uid, obj_i)
dataset_uidThe ID for this dataset.
obj_iThe index of this data object within the dataset.
A list of server route objects.
make_image_def()Create an object representing a single image in a raster.json list of images.
OmeTiffWrapper$make_image_def(dataset_uid, obj_i, base_url)
dataset_uidThe ID for this dataset.
obj_iThe index of this data object within the dataset.
base_urlThe base URL for the server.
A list that can be converted to JSON.
make_raster_file_def_creator()Make the file definition creator function for the raster data type.
OmeTiffWrapper$make_raster_file_def_creator(dataset_uid, obj_i)
dataset_uidThe ID for this dataset.
obj_iThe index of this data object within the dataset.
A file definition creator function which takes a base_url parameter.
create_image_json()OmeTiffWrapper$create_image_json(img_url, offsets_url = NA)
get_img_url()OmeTiffWrapper$get_img_url(base_url = "", dataset_uid = "", obj_i = "")
clone()The objects of this class are cloneable with this method.
OmeTiffWrapper$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.