add_col_attr: add_col_attr

View source: R/loom.R

add_col_attrR Documentation

add_col_attr

Description

Add a new column attribute to the given .loom object accessible by the given key and containing the given value.

Usage

add_col_attr(loom, key, value, dtype = NULL, as.annotation = F, as.metric = F)

Arguments

loom

The loom file handler.

key

The name of the new added attribute.

value

The value of the new added attribute.

as.annotation

Define this attribute as a discrete attribute. This attribute will be visible in the compare tab.

as.metric

Define this attribute as a continues


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