Skip to contents

Add a new column to the obs table

Usage

set_sc_new_obs_col(object, col_name, new_data)

Arguments

object

bixverse::SingleCells class.

col_name

String. The name of the column to add.

new_data

Atomic vector. The data to add to the column. Needs to be of same length as get_cells_to_keep() and have the same order.

Value

The class with updated obs table in the DuckDB