Skip to contents

Function to set feature metadata into giotto object

Usage

setFeatureMetadata(
  gobject,
  x,
  spat_unit = NULL,
  feat_type = NULL,
  provenance = NULL,
  verbose = TRUE,
  initialize = TRUE
)

Arguments

gobject

giotto object

x

featMetaObj or list of featMetaObj to set. Passing NULL will reset a specified set of feature metadata in the giotto object.

spat_unit

spatial unit (e.g. "cell")

feat_type

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

provenance

provenance information (optional)

verbose

be verbose

initialize

(default = FALSE) whether to initialize the gobject before returning

Value

giotto object