Description
Calculate spatial autocorrelation for genes using Moran's I or Geary's C.
This allows identifying spatially variable genes.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
obsp_neighborhood_graph: [ "spatial_connectivities" ]
use_all_genes: [ false ]
mode: [ "moran" ]
attr: [ "X" ]
n_perms: [ 100 ]
use_raw: [ false ]
output: "$id.$key.output"
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/feature_annotation/spatial_autocorr/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
--layer | string |
--input_genes | string multiple |
--obsp_neighborhood_graph | string |
--use_all_genes | boolean |
Name | Type & Properties |
|---|---|
--mode | string |
--attr | string |
--n_perms | integer |
--use_raw | boolean |
Name | Type & Properties |
|---|---|
--output | file required output |