Description
Performs label transfer from reference to query using XGBoost 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"
use_gpu: [ false ]
verbosity: [ 1 ]
model_output: "$id.$key.model_output"
output_uns_parameters: [ "xgboost_parameters" ]
learning_rate: [ 0.3 ]
min_split_loss: [ 0 ]
max_depth: [ 6 ]
min_child_weight: [ 1 ]
max_delta_step: [ 0 ]
subsample: [ 1 ]
sampling_method: [ "uniform" ]
colsample_bytree: [ 1 ]
colsample_bylevel: [ 1 ]
colsample_bynode: [ 1 ]
reg_lambda: [ 1 ]
reg_alpha: [ 0 ]
scale_pos_weight: [ 1 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v4.0.3 \
-main-script target/nextflow/labels_transfer/xgboost/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 |
|---|---|
--force_retrain -f | boolean_true |
--use_gpu | boolean |
--verbosity -v | integer |
--model_output | file output |
--output_uns_parameters | string |
Name | Type & Properties |
|---|---|
--learning_rate --eta | double |
--min_split_loss --gamma | double |
--max_depth -d | integer |
--min_child_weight | integer |
--max_delta_step | double |
--subsample | double |
--sampling_method | string |
--colsample_bytree | double |
--colsample_bylevel | double |
--colsample_bynode | double |
--reg_lambda --lambda | double |
--reg_alpha --alpha | double |
--scale_pos_weight | double |