Class representing an AnnData object (saved to a Zarr store) in a Vitessce dataset.
Super class
vitessceR::AbstractWrapper
-> AnnDataWrapper
Public fields
adata_path
The object to wrap.
adata_url
The object to wrap.
local_dir_uid
The path to the local zarr store.
obs_feature_matrix_path
The path to the observation-by-feature matrix within the Zarr store.
feature_filter_path
The 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_path
The 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_paths
A list of paths to the observation sets within the Zarr store.
obs_set_names
A list of names for the observation sets.
obs_locations_path
The path to the observation locations within the Zarr store.
obs_segmentations_path
The path to the observation segmentations within the Zarr store.
obs_embedding_paths
A list of paths to the observation embeddings within the Zarr store.
obs_embedding_names
A list of names for the observation embeddings.
obs_embedding_dims
A list of dimensions for the observation embeddings.
feature_labels_path
The path to the feature labels within the Zarr store.
obs_labels_path
The path to the observation labels within the Zarr store.
obs_labels_paths
A list of paths to the observation labels within the Zarr store.
obs_labels_names
A list of names for the observation labels.
coordination_values
A list of coordination values for the file definition.
request_init
A 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_path
The path to a local Zarr store.
adata_url
The URL to a remote Zarr store.
obs_feature_matrix_path
The path to the observation-by-feature matrix within the Zarr store.
feature_filter_path
The 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_path
The 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_paths
A list of paths to the observation sets within the Zarr store.
obs_set_names
A list of names for the observation sets.
obs_locations_path
The path to the observation locations within the Zarr store.
obs_segmentations_path
The path to the observation segmentations within the Zarr store.
obs_embedding_paths
A list of paths to the observation embeddings within the Zarr store.
obs_embedding_names
A list of names for the observation embeddings.
obs_embedding_dims
A list of dimensions for the observation embeddings.
request_init
A list of requestInit options for the Zarr store.
feature_labels_path
The path to the feature labels within the Zarr store.
coordination_values
A list of coordination values for the file definition.
obs_labels_paths
A list of paths to the observation labels within the Zarr store.
obs_labels_names
A 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.