Entering edit mode
2.7 years ago
barix
▴
20
Hi all!
I have a list of 16 elements each containing DEx genes between our control and experimental groups
I would like to do enrichment analysis using enrichGO function from clusterProfiler for each (total 16). How can I apply enrichGO function on each of these from the list (using lapply or for loop in R) so I don't have to do it individually 16 times.
The goal is to get a new list with 16 elements each containing enrichGO results for each of the elements from DEG list.
Can someone help with the code?
Thank you!!
Thank you very much!