DataType: Enumeration of Data Type values

DataTypeR Documentation

Enumeration of Data Type values

Description

The DataType list contains an enumeration of valid string constant values representing data types for dataset files.

  • CELLS: The cells data type.

  • CELL_SETS: The cell-sets data type.

  • EXPRESSION_MATRIX: The expression-matrix data type.

  • MOLECULES: The molecules data type.

  • NEIGHBORHOODS: The neighborhoods data type.

  • RASTER: The raster data type.

Usage

DataType

Format

An object of class list of length 6.

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
)

vitessce/vitessce-r documentation built on Oct. 12, 2024, 11:47 p.m.