FileType: Enumeration of File Type values

FileTypeR Documentation

Enumeration of File Type values

Description

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

  • CELLS_JSON: The cells.json file type.

  • MOLECULES_JSON: The molecules.json file type.

  • NEIGHBORHOODS_JSON: The neighborhoods.json file type.

  • RASTER_JSON: The raster.json file type.

  • CELL_SETS_JSON: The cell-sets.json file type.

  • CLUSTERS_JSON: The clusters.json file type.

  • EXPRESSION_MATRIX_ZARR: The expression-matrix.zarr file type.

Usage

FileType

Format

An object of class list of length 12.

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
)

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