This function adds new data to cellColData in a given ArchRProject.

addCellColData(
  ArchRProj = NULL,
  data = NULL,
  name = NULL,
  cells = NULL,
  force = FALSE
)

Arguments

ArchRProj

An ArchRProject object.

data

The data to add to cellColData.

name

The column header name to be used for this new data in cellColData. If a column with this name already exists, you may set force equal to TRUE to overwrite the data in this column.

cells

The names of the cells corresponding to data. Typically new data is added to all cells but you may use this argument to only add data to a subset of cells. Cells where data is not added are set to NA.

force

A boolean value indicating whether or not to overwrite data in a given column when the value passed to name already exists as a column name in cellColData.