Publication dateMar 9, 2022
Confidentiality public Public
Table column annotator
TASK
Typing name : TASK.gws_core.TableColumnAnnotator Brick : gws_core Annotate table columns according to a metadata table
Annotate the columns of a Sample table
using information from a metadata_table
.
- all the column values of the reference row of the
Sample table
are matched against the ids
of the Metadata table
.
- if an
id
matches against a reference value of the Sample table
, the corresponding column of the Sample table
is taggeg with the metadata given by the id
.
login
Input
Sample table
Table to annotate
Metadata table
Table containing the metadata
logout
Output
Table
2d excel like table
settings
Configuration
Row in the sample table whose data are used as reference for annotation. If empty, it uses the first row.
Type : string
metadata_ref_column
Optional
Column in the metadata table whose values are used for annotation. If empty, it uses the first column.
Type : string
use_table_column_names_as_ref
Optional Advanced parameter
If checked, the column names of the sample table are used as reference for annotation and the reference row param is ignored.
Type : bool
use_metadata_row_names_as_ref
Optional Advanced parameter
If checked, the row names of the metadata table are used as reference for annotation and the metadata reference column param is ignored.
Type : bool
Technical bricks to reuse or customize
Have you developed a brick?
Share it to accelerate projects for the entire community.