read spatial networks data from list
Examples
x <- GiottoData::loadSubObjectMini("spatialNetworkObj", idx = 2)
readSpatNetData(x)
#> [[1]]
#> An object of class spatialNetworkObj : "kNN_network"
#> Contains spatial network generated with: dbscan
#> spat_unit : "aggregate"
#> provenance: z0 z1
#> 2211 connections (filtered)
#>