filter/delimit_fraction
Description
Turns a column containing values between 0 and 1 into a boolean column based on thresholds.
Inputs
Name | Type & Properties | Description |
|---|---|---|
--input | file required | Input h5mu file |
--modality | string | |
--layer | string | |
--obs_fraction_column | string required | Name of column from .var dataframe selecting a column that contains floating point values between 0 and 1. |
Outputs
Name | Type & Properties | Description |
|---|---|---|
--output | file output | Output h5mu file. |
--output_compression | string | The compression format to be used on the output h5mu object. |
--obs_name_filter | string required | In which .obs slot to store a boolean array corresponding to which observations should be removed. |
Arguments
Name | Type & Properties | Description |
|---|---|---|
--min_fraction | double | Min fraction for an observation to be retained (True in output). |
--max_fraction | double | Max fraction for an observation to be retained (True in output). |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output: "$id.$key.output.h5mu"
min_fraction: [ 0 ]
max_fraction: [ 1 ]
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 1.0.4 \
-main-script target/nextflow/filter/delimit_fraction/main.nf \
-params-file params.yaml Relationships
Used by
1 relationships
Current component
filter/delimit_fractionopenpipeline 1.0.4
Uses
0 relationships
No component dependencies found.