Introduction:

This tool takes multiple peak tables as input and merges them together. The outputted peak table will have more samples and compounds. If a compound exists in some but not all tables, it will be filled as NA in missing position in the final merged table. If same sample names exist in different tables, their common compounds will be averaged and outputted in the final table.

Input files:

1.      Multiple peak table files in Tab-delimited txt format, with the first column as the compound identifier and the others as samples. 

For example:

Peak table 1:

AlignID

STDmix_GC_01

STDmix_GC_02

1

1486892478

451322711

Nitrogen dioxide

5492977400

684433223

Ethanol, 2-fluoro-

2265686433

4182838129

Peak table2:

AlignID

STDmix_GC_03

1

3448620100

Nitrogen dioxide

3265668000

Norgestrel

5315.224

Output files:

1.      'merged_matrix.txt', merged table file in Tab-delimited txt format.

For example:

AlignID

STDmix_GC_01

STDmix_GC_02

STDmix_GC_03

1

1486892478

561322777

3448620272

Nitrogen dioxide

5492977592

684434115

3265669981

Ethanol, 2-fluoro-

2265686433

4182838129

0

Norgestrel

0

0

5315.224