Hello everyone, I need to make a gene enrichment with clusterProfiler tool implemented in R. I have a gene list with only gene names in it. In the data I have now, there was some NAs and I eliminated them with na.omit() function. Now, I have a clear list but I need to make sure that my data doesn't have the same gene names more than one. Later, I need to reunite the truncated data. I couldn't find the right arguments and commands for those procedures. Sorry for inconvenience, and thank you very much for the help, Mervenur
Why would your data have multiples of gene names? Maybe picking one at random is a bad idea because they represent different things.
They're all miRNA target genes, all I know is that I need to make sure my data only consists only one of different gene names
group by genes and collapse all the miRNAs (with , separation). That way you would not loose any information. Remove any remaining NAs.