The FileType
list contains an enumeration of
valid string constant values representing file types
for dataset files.
CELLS_JSON
: Thecells.json
file type.MOLECULES_JSON
: Themolecules.json
file type.NEIGHBORHOODS_JSON
: Theneighborhoods.json
file type.RASTER_JSON
: Theraster.json
file type.CELL_SETS_JSON
: Thecell-sets.json
file type.CLUSTERS_JSON
: Theclusters.json
file type.EXPRESSION_MATRIX_ZARR
: Theexpression-matrix.zarr
file type.
Examples
base_url <- "http://localhost:8000/"
vc <- VitessceConfig$new(schema_version = "1.0.16", name = "My config")
dataset <- vc$add_dataset("My dataset")$add_file(
url = paste0(base_url, "cells.json"),
file_type = FileType$CELLS_JSON
)