Description
Performs label transfer from reference to query using KNN classifier
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
reference_obsm_features: [ "X_integrated_scanvi" ]
reference_obs_targets:
[
"ann_level_1",
"ann_level_2",
"ann_level_3",
"ann_level_4",
"ann_level_5",
"ann_finest_level"
]
output: "$id.$key.output"
output_uns_parameters: [ "labels_transfer" ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 1.0.3 \
-main-script target/nextflow/labels_transfer/knn/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input | file required |
--modality | string |
--input_obsm_features | string |
Name | Type & Properties |
|---|---|
--reference | file |
--reference_obsm_features | string required |
--reference_obs_targets | string multiple |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_obs_predictions | string multiple |
--output_obs_uncertainty | string multiple |
--output_uns_parameters | string |
Name | Type & Properties |
|---|---|
--n_neighbors -k | integer required |