Description
Combine spatial and expression neighborhood graphs into a single graph for
use in downstream clustering or trajectory analysis.
The fusion is a linear combination of the expression connectivities
and spatial connectivities matrices, weighted by alpha.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
input_obsp_expression_graph: [ "connectivities" ]
input_obsp_spatial_graph: [ "spatial_connectivities" ]
alpha: [ 0.5 ]
output: "$id.$key.output.h5mu"
output_obsp_graph: [ "spatial_expression_connectivities" ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline_spatial.git \
-revision v0.5.0 \
-main-script target/nextflow/neighbors/join_graphs/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
--input_obsp_expression_graph | string |
--input_obsp_spatial_graph | string |
Name | Type & Properties |
|---|---|
--alpha | double |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_obsp_graph | string |
--output_compression | string |