Description
Normalize counts per cell.
Normalize each cell by total counts over all genes, so that every cell has the same total count after normalization. If choosing target_sum=1e6, this is CPM normalization.
If exclude_highly_expressed=True, very highly expressed genes are excluded from the computation of the normalization factor (size factor) for each cell. This is meaningful as these can strongly influence the resulting normalized values for all other genes [Weinreb17].
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output: "$id.$key.output"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision v4.2.0 \
-main-script target/nextflow/transform/normalize_total/main.nf \
-params-file params.yaml Name | Type & Properties |
|---|---|
--input -i | file required |
--modality | string |
--input_layer | string |
--output -o | file required output |
--output_layer | string |
--target_sum | integer |
--exclude_highly_expressed | boolean_true |
--output_compression | string |