Skip to contents

Class representing a file in a dataset in a Vitessce view config.

Details

File in a dataset in a VitessceConfig

Methods


Method new()

Create a new dataset file object.

Usage

VitessceConfigDatasetFile$new(
  url = NA,
  data_type = NA,
  file_type = NA,
  options = NA
)

Arguments

url

A URL for the file.

data_type

A data type for the file.

file_type

A file type for the file.

options

A list of options to include for the file.

Returns

A new VitessceConfigDatasetFile object.


Method to_list()

Convert the object to an R list. Helpful when converting the config to JSON.

Usage

VitessceConfigDatasetFile$to_list()

Returns

A list that can be serialized to JSON using rjson.


Method clone()

The objects of this class are cloneable with this method.

Usage

VitessceConfigDatasetFile$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.