before questioning I tried with cast, dcast, but everything went wrong... anyway, I have a data.frame like this
Genes Code
Apod Tptm cell attachment cell to cell contact cell polarity
Apod Serpine1 cell attachment cell to cell contact cell polarity
Adm Ramp2 angiogenesis
Adm Rdr angiogenesis
My idea is to reshape the data.frame using Code column to get Unique Codes as rows and unique Genes (avoinding duplicates) jointly in each case
Code Genes
cell attachment cell to cell contact cell polarity Apod TpTm Serpine1
angiogenesis Adm Rpr Ramp2
Any idea?
Thanks