Im working with FGNet package for enrichment analysis. It was working everything good.
I normally make the functional analysis in DAVID website and them extract the file with format_david.
this is my code:
david_website <- "is the link of the website results"
geneLabels <- "list of genes with names"
feaResults_David <- format_david("david_website", geneLabels = geneLabels)
Them, the message is:
Raw results downloaded and saved as 413104_DavidClustering_raw.txt'
Error in `[<-.data.frame`(`*tmp*`, otherAnnot, "Terms", value = list("Mitochondrion (ID transit peptide)", :
replacement element 847 has 2 rows, need 1435
So the file is downloading good (i could see it in my working directory), but apparently it have a problem to structure it in dataframe using "format_david", i really dont know what is happened (i now is pretty clear that it said is about the size where it have 2 rows and need 1435). I got what the message said but i dont know how to manage the data frame to let it fit, because it supposed that format_david make that. I already look inf format_david options to see if i could manage it but it is no possible.
I hope someone could help.