Convert multiple rows value retrieved from ensemble biomart to comma separated list for a common ensemble gene ID.
I have retrieved the gene ontology data from ensemble as a data frame, as shown bellow
Gene ontology data table I retrieved from biomart
and I want to add those details to my DEG list which have unique ensemble id in each row , so I want to convert the ensemble dataframe to match this format.
where each unique gene id will be linked to multiple GO separated by comma.
This format I want
If anyone can suggest some code to do it in R it will be very helpful. Thanks.
• 673 views