getCellMetadata: getCellMetadata

View source: R/accessors.R

getCellMetadataR Documentation

getCellMetadata

Description

Get cell metadata from giotto object

Usage

getCellMetadata(
  gobject,
  spat_unit = NULL,
  feat_type = NULL,
  output = c("cellMetaObj", "data.table"),
  copy_obj = TRUE,
  set_defaults = TRUE
)

Arguments

gobject

giotto object

spat_unit

spatial unit (e.g. "cell")

feat_type

feature type (e.g. "rna", "dna", "protein")

output

return as either 'data.table' or 'cellMetaObj'

copy_obj

whether to deep copy/duplicate when getting the object (default = TRUE)

set_defaults

set default spat_unit and feat_type. Change to FALSE only when expression and spat_info are not expected to exist.

See Also

pDataDT


drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.