neighbors/spatial_neighborhood_graph

Description

Calculates a spatial neighborhood graph based on the spatial coordinates.

Type

python_script

Contributors

Run this component

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  

Inputs

Name
Type & Properties
--input
file
required
--modality
string
--input_obsm_spatial_coords
string

Spatial Neighbors Calculation

Name
Type & Properties
--coord_type
string
--n_spatial_neighbors
integer
--delaunay
boolean

Outputs

Name
Type & Properties
--output
file
required
output
--output_compression
string

Collaborate Accelerate Succeed

Empower your organization with secure, scalable workflow solutions that simplify development, ensure compliance, and drive innovation.

Viash Hub is a platform developed by Data Intuitive, a Belgian-based bioinformatics company specializing in data workflow development and deployment.