Skip to contents

read nearest network results from list

Usage

readNearestNetData(
  data_list,
  default_spat_unit = NULL,
  default_feat_type = NULL,
  provenance = NULL,
  verbose = TRUE
)

Arguments

data_list

(nested) list of input data to read

default_spat_unit

(optional) default spat_unit to use

default_feat_type

(optional) default feat_type to use

provenance

(optional) provenance information

verbose

be verbose

Value

nnNetObj

Examples

x <- GiottoData::loadSubObjectMini("nnNetObj")

readNearestNetData(x)
#> [[1]]
#> An object of class nnNetObj : "sNN.pca"
#> --| Contains nearest neighbor network generated with: sNN 
#> ----| for feat_type: rna 
#> ----|     spat_unit: aggregate 
#> ----|     provenance: z0 z1 
#> 
#> IGRAPH 859f76e DNW- 462 3021 -- 
#> + attr: name (v/c), weight (e/n), distance (e/n), shared (e/n), rank
#> | (e/n)
#> + edges from 859f76e (vertex names):
#> [1] 240649020551054330404932383065726870513->335295524680090725199231409883288198017
#> [2] 240649020551054330404932383065726870513->77151711298730578178892667721058396928 
#> [3] 240649020551054330404932383065726870513->322879686187630160969459793861944841206
#> [4] 240649020551054330404932383065726870513->31072896077757820678000109671990674373 
#> [5] 240649020551054330404932383065726870513->102184699197574201819246996094734116255
#> [6] 240649020551054330404932383065726870513->17685062374745280598492217386845129350 
#> + ... omitted several edges
#> 
#> 
#>