Skip to contents

Get giotto points spatVector

Usage

get_feature_info(
  gobject,
  feat_type = NULL,
  set_defaults = TRUE,
  return_giottoPoints = FALSE,
  simplify = TRUE
)

Arguments

gobject

giotto object

feat_type

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

set_defaults

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

return_giottoPoints

return as a giottoPoints object

simplify

logical. Whether or not to take object out of a list when there is a length of 1.

Value

a SpatVector (default) or giottoPoints object depending on value of return_giottoPoints