dimred/pca

Description

Computes PCA coordinates, loadings and variance decomposition. Uses the implementation of scikit-learn [Pedregosa11].

Type

python_script

License

MIT

Contributors

Run this component

Run the following command to execute this component with Nextflow:

cat > params.yaml <<'EOM'  
modality: [ "rna" ]  
output: "$id.$key.output.h5mu"  
obsm_output: [ "X_pca" ]  
varm_output: [ "pca_loadings" ]  
uns_output: [ "pca_variance" ]  
id: "run"  
publish_dir: "output/"  
EOM

nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \  
  -revision v3.0.0 \  
  -main-script target/nextflow/dimred/pca/main.nf \  
  -params-file params.yaml  

Arguments

Name
Type & Properties
--input
-i
file
required
--modality
string
--layer
string
--var_input
string
--output
-o
file
required
output
--obsm_output
string
--varm_output
string
--uns_output
string
--num_components
integer
--overwrite
boolean_true
--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.