addCellMetadata: addCellMetadata

Description Usage Arguments Details Value Examples

Description

adds cell metadata to the giotto object

Usage

1
2
3
4
5
6
7
addCellMetadata(
  gobject,
  new_metadata,
  vector_name = NULL,
  by_column = FALSE,
  column_cell_ID = NULL
)

Arguments

gobject

giotto object

new_metadata

new cell metadata to use (data.table, data.frame, ...)

vector_name

(optional) custom name if you provide a single vector

by_column

merge metadata based on cell_ID column in pDataDT (default = FALSE)

column_cell_ID

column name of new metadata to use if by_column = TRUE

Details

You can add additional cell metadata in two manners:

Value

giotto object

Examples

1
    addCellMetadata(gobject)

bernard2012/Giotto documentation built on Sept. 22, 2020, 10:29 a.m.