Class representing a CSV file in a Vitessce dataset.
Super class
vitessceR::AbstractWrapper
-> CsvWrapper
Public fields
csv_path
The object to wrap.
csv_url
The object to wrap.
local_csv_uid
The path to the local zarr store.
data_type
The Vitessce data type for this file.
options
A list of options to pass to the Vitessce file definition.
coordination_values
A list of coordination values to pass to the Vitessce file definition.
request_init
A list of requestInit values to pass to fetch when loading the CSV over HTTP.
Methods
Inherited methods
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()
Method new()
Create a wrapper around a CSV file.
Usage
CsvWrapper$new(
csv_path = NA,
csv_url = NA,
data_type = NA,
options = NA,
coordination_values = NA,
request_init = NA,
...
)
Arguments
csv_path
The path to a local CSV file.
csv_url
The URL to a remote CSV file.
data_type
The Vitessce data type for this file.
options
A list of options to pass to the Vitessce file definition.
coordination_values
A list of coordination values to pass to the Vitessce file definition.
request_init
A list of requestInit values to pass to fetch when loading the CSV over HTTP.
...
Parameters inherited from
AbstractWrapper
.
Method convert_and_save()
Create the JSON output files, web server routes, and file definition creators.
Method get_csv_url()
Get the URL to the Zarr store, to fill in the file URL in the file definitions.
Method make_file_def_creator()
Make the file definition creator function for the cells data type.