extract_graph: Extract a KNN Graph from Polygons

Description Usage Arguments

View source: R/processing.R

Description

Sometimes we want to put neighboring polygons into one big graph.

Usage

1
extract_graph(geometries, K = 5)

Arguments

geometries

The data.frame containing the polygons and their labels.

K

The number of nearest neighbors to which each polygon will be linked.


krisrs1128/BIRSBIO2020.scProteomics.embeddings documentation built on July 29, 2020, 7:36 a.m.