I need to convert this format when basically you have for 1 gene ID (first col) up to 5 possible values associated in the 3rd column:
TMCS09g1008676 fleshy 0.000234939
TMCS09g1008676 fleshy 1.38379E-05
TMCS09g1008676 fleshy 0.00331883
TMCS09g1008677 fleshy 0.0481578
TMCS09g1008678 fleshy 0.0350491
TMCS09g1008679 fleshy 0.0335639
TMCS09g1008680 fleshy 0.0167087
TMCS09g1008681 fleshy 0.00301089
TMCS09g1008682 fleshy 0.00519838
TMCS09g1008682 fleshy 0.0399833
TMCS09g1008682 fleshy 0.0122184
TMCS09g1008683 fleshy 0.00202427
TMCS09g1008683 fleshy 0.00199513
TMCS09g1008683 fleshy 0.0350491
TMCS09g1008683 fleshy 0.00331883
TMCS09g1008683 fleshy 0.0399833
to this where you have the all possible values associated to each gene ID (first col) separated by tab (so max 5 fields will be filled):
TMCS09g1008676 0.000234939 1.38379E-05 0.00331883
TMCS09g1008677 0.0481578
TMCS09g1008678 0.0350491
TMCS09g1008679 0.0335639
TMCS09g1008680 0.0167087
TMCS09g1008681 0.00301089
TMCS09g1008682 0.00519838 0.0399833 0.0122184
TMCS09g1008683 0.00202427 0.00199513 0.0350491 0.00331883 0.0399833
I would very much appreciate some indications with R.