metadata/move_obsm_to_obs
Description
Move a matrix from .obsm to .obs. Newly created columns in .obs will
be created from the .obsm key suffixed with an underscore and the name of the columns
of the specified .obsm matrix.
MuData Input
Name | Type & Properties | Description |
|---|---|---|
--input -i | file required | Input h5mu file |
--modality | string | |
--obsm_key | string required | Key of a data structure to move from `.obsm` to `.obs`. |
MuData Output
Name | Type & Properties | Description |
|---|---|---|
--output -o | file required output | Output h5mu file. |
--output_compression | string | The compression format to be used on the output h5mu object. |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
modality: [ "rna" ]
output: "$id.$key.output.h5mu"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/openpipeline.git \
-revision 2.0.0 \
-main-script target/nextflow/metadata/move_obsm_to_obs/main.nf \
-params-file params.yaml Relationships
Used by
6 relationships
Current component
metadata/move_obsm_to_obsopenpipeline 2.0.0
Uses
0 relationships
No component dependencies found.