Back to bricks list
Introduction Getting Started
Architecture
Technical Documentation
Tasks
Barplot Plotly Boxplot Plotly Conda env agent Converter Create a sugar type of food Create folder from files Create json dict Create lab note Create note resource Create robot Decompress file Describe Download an scenario Download resource from a S3 bucket Download resource from external source Eat task Env agent Extract column tags to new row Extract column values to row tags Extract row tags to new column Extract row values to column tags Fly task Folder exporter Fs node extractor Generate lab note from note resource GenerateStreamlitTestApp Histogram Plotly Input Input from task output JSON Dict exporter JSON Dict importer Line Plotly Mamba env agent Melt Merge note resources Move robot Output Pip env agent Python agent R conda env agent R mamba env agent Resource exporter Resource importer Resource picker Resource set exporter Resource stacker Robot add Scatterplot Plotly Select a scenario Select note Select note template Send a scenario to a lab Send the resource to a lab Shell wait Smart interactive plot generator Smart json transformer Smart multi tables transformer Smart plot generator Smart table transformer Streamlit agent Streamlit conda agent Streamlit env agent Streamlit mamba agent Streamlit pip env agent Switch2 Table column aggregator Table column aggregator filter Table column annotator Table column concat Table column data numeric filter Table column data text filter Table column operation mass Table column operations Table column scaler Table column tag aggregator Table column tag unfolder Table column tags deleter Table column tags selector Table columns deleter Table columns selector Table exporter Table importer Table replace Table row aggregator Table row aggregator filter Table row annotator Table row concat Table row data numeric filter Table row data text filter Table row scaler Table row tag aggregator Table row tag unfolder Table row tags deleter Table row tags selector Table rows deleter Table rows selector Table scaler Table transposer Task Task Plotly Text exporter Text importer The travel of `Astro` Transformer Unzip and load resource Update note resource Upload resource to S3 Viewer Violinplot Plotly Wait Wait task Write to file Zip resource [Support] Update process typing name [Support] Update resource typing name
Version

Table row annotator

TASK
Typing name :  TASK.gws_core.TableRowAnnotator Brick :  gws_core

Annotate table rows according to a metadata table

TableRowAnnotator

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 taggeg 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