Skip to contents

Store a simulated doublet UMAP coordinates on a dataset

Usage

add_doublet_umap(proj, umap_doublets, ...)

# S3 method for class 'MarchRDataset'
add_doublet_umap(proj, umap_doublets, overwrite = FALSE)

# S3 method for class 'MarchRProject'
add_doublet_umap(
  proj,
  umap_doublets,
  dataset_names = character(0),
  overwrite = FALSE
)

Arguments

proj

(MarchRProject or MarchRDataset)

umap_doublets

(matrix or IterableMatrix) Simulated doublet UMAP with shape (n_doublets x n_trials) x 2.

...

Additional arguments passed to methods.

overwrite

(logical) Overwrite existing entry. Default FALSE.

dataset_names

(character) Name of dataset(s) to store matrix on.

Value

MarchRProject or MarchRDataset modified to include UMAP doublet embedding matrix