| CsvWrapper | R Documentation |
Class representing a CSV file in a Vitessce dataset.
CSV file wrapper class
vitessceR::AbstractWrapper -> CsvWrapper
csv_pathThe object to wrap.
csv_urlThe object to wrap.
local_csv_uidThe path to the local zarr store.
data_typeThe Vitessce data type for this file.
optionsA list of options to pass to the Vitessce file definition.
coordination_valuesA list of coordination values to pass to the Vitessce file definition.
request_initA list of requestInit values to pass to fetch when loading the CSV over HTTP.
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 a CSV file.
CsvWrapper$new( csv_path = NA, csv_url = NA, data_type = NA, options = NA, coordination_values = NA, request_init = NA, ... )
csv_pathThe path to a local CSV file.
csv_urlThe URL to a remote CSV file.
data_typeThe Vitessce data type for this file.
optionsA list of options to pass to the Vitessce file definition.
coordination_valuesA list of coordination values to pass to the Vitessce file definition.
request_initA list of requestInit values to pass to fetch when loading the CSV over HTTP.
...Parameters inherited from AbstractWrapper.
A new CsvWrapper object.
convert_and_save()Create the JSON output files, web server routes, and file definition creators.
CsvWrapper$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.
base_dirA base directory for local data.
make_routes()Get a list of server route objects.
CsvWrapper$make_routes(dataset_uid, obj_i)
dataset_uidThe ID for this dataset.
obj_iThe index of this data object within the dataset.
get_csv_url()Get the URL to the Zarr store, to fill in the file URL in the file definitions.
CsvWrapper$get_csv_url(base_url, dataset_uid, obj_i)
base_urlThe base URL, on which the route will be served.
dataset_uidThe ID for this dataset.
obj_iThe index of this data object within the dataset.
A URL as a string.
make_file_def_creator()Make the file definition creator function for the cells data type.
CsvWrapper$make_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.
clone()The objects of this class are cloneable with this method.
CsvWrapper$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.