Description
This component performs label transfer from reference to query using a K-Neirest Neighbors classifier.
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
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"
weights: [ "uniform" ]
n_neighbors: [ 15 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v4.0.0 \
-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 |
--reference_obs_targets | string multiple |
Name | Type & Properties |
|---|---|
--output | file required output |
--output_obs_predictions | string multiple |
--output_obs_probability | string multiple |
--output_compression | string |
Name | Type & Properties |
|---|---|
--input_obsm_distances | string |
Name | Type & Properties |
|---|---|
--reference_obsm_distances | string |
Name | Type & Properties |
|---|---|
--weights | string |
--n_neighbors | integer |