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.
so the ensembl ids in the GO df are not unique?
you can post your data in plain text so that others can help with that