Login
Introduction
Technical Documentation
Tasks
Version

Table annotator

Deprecated TASK
Deprecated since the version : 0.2.2
Please use TableRowAnnotator or TableColumnAnnotator instead
Typing name :  TASK.gws_core.TableAnnotator Brick :  gws_core v Parent : 

Annotate table rows (or columns) according to a metadata table

TableAnnotator

Annotate the rows (or columns) of a sample_table using information from a metadata_table. If the rows of the sample_table are annotated, then

  • 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 taggeg with the metadata given by the id. Similarly for column annotation.

Input

Table
2d excel like table
MetadataTable
Metadata table

Output

Table
2d excel like table

Configuration

direction

Optional

Set `row` (`column`) to annotable the rows (or columns) of the sample_table

Type : stringAllowed values : row  column  Default value : row

reference

Optional

Column (Row) of the sample_table whose values are used as reference values for annotation. It empty, the row (column) names of the sample_table are used.

Type : string