createNearestNetObj: Create S4 nnNetObj

createNearestNetObjR Documentation

Create S4 nnNetObj

Description

Create an S4 nnNetObj

Usage

createNearestNetObj(
  name = "test",
  network,
  nn_type = NULL,
  spat_unit = "cell",
  feat_type = "rna",
  provenance = NULL,
  misc = NULL
)

Arguments

name

name of nnNetObj

network

igraph object or data.frame containing nearest neighbor information (see details)

nn_type

type of nearest neighbor network

misc

misc

Details

igraph and dataframe-like inputs must include certain information. For igraph, it must have, at minimum vertex 'name' attributes and 'distance' edge attribute. dataframe-like inputs must have 'from', 'to', and 'distance' columns

Slots

spat_unit

spatial unit of data

feat_type

feature type of data

provenance

origin of aggregated information (if applicable)


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