Description
Split mudata object into training and testing (and validation) datasets based on observations into separate mudata objects.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output_train: "$id.$key.output_train.h5mu"
output_test: "$id.$key.output_test.h5mu"
output_val: "$id.$key.output_val.h5mu"
test_size: [ 0.2 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 2.0.0 \
-main-script target/nextflow/dataflow/split_h5mu_train_test/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
Name | Type & Properties |
|---|---|
--output_train | file required output |
--output_test | file required output |
--output_val | file output |
--compression | string |
Name | Type & Properties |
|---|---|
--test_size | double |
--val_size | double |
--shuffle | boolean_true |
--random_state | integer |