feature_annotation/spatial_autocorr

Description

Calculate spatial autocorrelation for genes using Moran's I or Geary's C.
This allows identifying spatially variable genes.

Type

python_script

Run this component

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  

Inputs

Name
Type & Properties
--input
file
required
--modality
string
--layer
string
--input_genes
string
multiple
--obsp_neighborhood_graph
string
--use_all_genes
boolean

Parameters

Name
Type & Properties
--mode
string
--attr
string
--n_perms
integer
--use_raw
boolean

Outputs

Name
Type & Properties
--output
file
required
output

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.