Description
Calculates a spatial neighborhood graph based on the spatial coordinates.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
input_obsm_spatial_coords: [ "spatial" ]
coord_type: [ "generic" ]
n_spatial_neighbors: [ 6 ]
delaunay: [ false ]
output: "$id.$key.output.h5mu"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline_spatial.git \
-revision v0.3.0 \
-main-script target/nextflow/neighbors/spatial_neighborhood_graph/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
--input_obsm_spatial_coords | string |
Name | Type & Properties |
|---|---|
--coord_type | string |
--n_spatial_neighbors | integer |
--delaunay | boolean |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_compression | string |