add_clustering: add_clustering

View source: R/loom.R

add_clusteringR Documentation

add_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_clustering(
  loom,
  group,
  name,
  clusters,
  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.

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.