The DataType
list contains an enumeration of
valid string constant values representing data types
for dataset files.
CELLS
: Thecells
data type.CELL_SETS
: Thecell-sets
data type.EXPRESSION_MATRIX
: Theexpression-matrix
data type.MOLECULES
: Themolecules
data type.NEIGHBORHOODS
: Theneighborhoods
data type.RASTER
: Theraster
data 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"),
data_type = DataType$CELLS,
file_type = FileType$CELLS_JSON
)