createDimObj: Create S4 dimObj

createDimObjR Documentation

Create S4 dimObj

Description

Create an S4 dimObj

Usage

createDimObj(
  coordinates,
  name = "test",
  spat_unit = "cell",
  feat_type = "rna",
  method = NULL,
  reduction = "cells",
  provenance = NULL,
  misc = NULL,
  my_rownames = NULL
)

Arguments

coordinates

embedding coordinates

name

name of dimObj

spat_unit

spatial unit of aggregated expression (e.g. 'cell')

feat_type

feature type of aggregated expression (e.g. 'rna', 'protein')

reduction

reduction on columns (e.g. cells) or rows (e.g. features)

provenance

origin data of aggregated expression information (if applicable)

misc

misc

my_rownames

(optional) if needed, set coordinates rowname values here

reduction_method

method used to generate dimension reduction


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