Build an exact radius graph from a bigmemory::big.matrix
Source: R/v3_interface.R
radius_graph_bigmatrix.RdBuild an exact radius graph from a bigmemory::big.matrix
Arguments
- x
A
bigmemory::big.matrix, external pointer, or prepared reference.- radius
Distance threshold for including an edge.
- metric
Distance metric. Supported values are
"euclidean","sqeuclidean", and"cosine".- plan
Optional execution plan returned by
knn_plan_bigmatrix().- block_size
Number of rows to process per query and reference block.
- include_distance
Logical flag controlling whether graph edges store distances or unit weights.
- format
Output format. One of
"edge_list","triplet", or"dgCMatrix".- symmetrize
How directed radius edges should be combined. One of
"none","union", or"mutual".- exclude_self
Logical flag controlling whether self loops are suppressed.
- sort
Logical flag controlling whether each query's matches are sorted by distance and then by index.