Back to bricks list
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

Table row annotator

TASK
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.

Input

Sample table
Table to annotate
Metadata table
Table containing the metadata

Output

Table
2d excel like table

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