add_annotated_clustering: add_annotated_clustering

View source: R/loom.R

add_annotated_clusteringR Documentation

add_annotated_clustering

Description

Add the given clusters in the given group column attribute and meta data related to the given clustering to the given .loom file handler.

Usage

add_annotated_clustering(
  loom,
  group,
  name,
  clusters,
  annotation,
  is.default = F,
  overwrite.default = NULL
)

Arguments

loom

The loom file handler.

group

The for the given clustering group to which the given clusters have to be added.

name

The name given to this clustering

clusters

A named list of the cell id and assigned the cluster id.

annotation

A named list of the cell id and the corresponding annotation.

is.default

Set this clustering be set as default one.

overwrite.default

Overwrite the default clustering in the given loom if set to TRUE. Otherwise, it's not updated.


aertslab/SCopeLoomR documentation built on April 19, 2022, 11:25 a.m.