Publication dateMar 9, 2022
Confidentiality public Public
Typing name : TASK.gws_core.TableRowAnnotator Brick : gws_core Annotate table rows according to a metadata table
Annotate the rows of a Sample table
using information from a Metadata table
.
All the row values of the reference column 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 row of the Sample table
is tagged 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
reference_column
Optional
Column in the sample table whose values are used for annotation. If empty, it uses the first column.
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_row_names_as_ref
Optional Advanced parameter
If checked, the row names of the sample table are used as reference for annotation and the reference column 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.