dynwrap (version 1.2.1)

wrap_data: A data wrapper for datasets and trajectories

Description

A data wrapper for datasets and trajectories

Usage

wrap_data(id = NULL, cell_ids, cell_info = NULL, ...)

is_data_wrapper(dataset)

Arguments

id

A unique identifier for the data. If NULL, a random string will be generated.

cell_ids

The identifiers of the cells.

cell_info

Optional meta-information pertaining the cells.

...

Extra information to be stored in the wrapper.

dataset

A dataset created by wrap_data() or wrap_expression()

Value

A list containing id, cell_ids and cell_info (if specified)

Examples

Run this code
# NOT RUN {
dataset <- wrap_data(
  cell_ids = c("A", "B", "C")
)
dataset$cell_ids

# }

Run the code above in your browser using DataLab