Class representing an AnnData object (saved to a Zarr store) in a Vitessce dataset.
Super class
vitessceR::AbstractWrapper -> AnnDataWrapper
Public fields
adata_pathThe object to wrap.
adata_urlThe object to wrap.
local_dir_uidThe path to the local zarr store.
obs_feature_matrix_pathThe path to the observation-by-feature matrix within the Zarr store.
feature_filter_pathThe path to the a column of adata.var within the Zarr store. Use this if obs_feature_matrix_path points to a subset of adata.X (relative to the full adata.var).
initial_feature_filter_pathThe path to the a column of adata.var within the Zarr store. Use this to load a subset of the matrix at obs_feature_matrix_path initially.
obs_set_pathsA list of paths to the observation sets within the Zarr store.
obs_set_namesA list of names for the observation sets.
obs_locations_pathThe path to the observation locations within the Zarr store.
obs_segmentations_pathThe path to the observation segmentations within the Zarr store.
obs_embedding_pathsA list of paths to the observation embeddings within the Zarr store.
obs_embedding_namesA list of names for the observation embeddings.
obs_embedding_dimsA list of dimensions for the observation embeddings.
feature_labels_pathThe path to the feature labels within the Zarr store.
obs_labels_pathThe path to the observation labels within the Zarr store.
obs_labels_pathsA list of paths to the observation labels within the Zarr store.
obs_labels_namesA list of names for the observation labels.
coordination_valuesA list of coordination values for the file definition.
request_initA list of requestInit options for the Zarr store.
Methods
Inherited methods
vitessceR::AbstractWrapper$auto_view_config()vitessceR::AbstractWrapper$get_file_defs()vitessceR::AbstractWrapper$get_local_dir_route()vitessceR::AbstractWrapper$get_local_dir_url()vitessceR::AbstractWrapper$get_local_file_route()vitessceR::AbstractWrapper$get_local_file_url()vitessceR::AbstractWrapper$get_out_dir()vitessceR::AbstractWrapper$get_out_dir_route()vitessceR::AbstractWrapper$get_route_str()vitessceR::AbstractWrapper$get_routes()vitessceR::AbstractWrapper$get_url()vitessceR::AbstractWrapper$get_url_simple()
Method new()
Create a wrapper around an AnnData object saved to a Zarr store.
Usage
AnnDataWrapper$new(
adata_path = NA,
adata_url = NA,
obs_feature_matrix_path = NA,
feature_filter_path = NA,
initial_feature_filter_path = NA,
obs_set_paths = NA,
obs_set_names = NA,
obs_locations_path = NA,
obs_segmentations_path = NA,
obs_embedding_paths = NA,
obs_embedding_names = NA,
obs_embedding_dims = NA,
request_init = NA,
feature_labels_path = NA,
coordination_values = NA,
obs_labels_paths = NA,
obs_labels_names = NA,
...
)Arguments
adata_pathThe path to a local Zarr store.
adata_urlThe URL to a remote Zarr store.
obs_feature_matrix_pathThe path to the observation-by-feature matrix within the Zarr store.
feature_filter_pathThe path to the a column of adata.var within the Zarr store. Use this if obs_feature_matrix_path points to a subset of adata.X (relative to the full adata.var).
initial_feature_filter_pathThe path to the a column of adata.var within the Zarr store. Use this to load a subset of the matrix at obs_feature_matrix_path initially.
obs_set_pathsA list of paths to the observation sets within the Zarr store.
obs_set_namesA list of names for the observation sets.
obs_locations_pathThe path to the observation locations within the Zarr store.
obs_segmentations_pathThe path to the observation segmentations within the Zarr store.
obs_embedding_pathsA list of paths to the observation embeddings within the Zarr store.
obs_embedding_namesA list of names for the observation embeddings.
obs_embedding_dimsA list of dimensions for the observation embeddings.
request_initA list of requestInit options for the Zarr store.
feature_labels_pathThe path to the feature labels within the Zarr store.
coordination_valuesA list of coordination values for the file definition.
obs_labels_pathsA list of paths to the observation labels within the Zarr store.
obs_labels_namesA list of names for the observation labels.
...Parameters inherited from
AbstractWrapper.
Method convert_and_save()
Create the JSON output files, web server routes, and file definition creators.
Method get_zarr_url()
Get the URL to the Zarr store, to fill in the file URL in the file definitions.
Method make_file_def_creator()
Make the file definition creator function for the cells data type.