Hey cpcantalapiedra!
I tried using your advice, as I also use three non-model organisms with already several annotated GO terms per Gene ID - and my aim is to compare all three organisms with each other.
If I create the basic profile the way you supposed, I got 0 frequencies - did you have that as well? In which format did you upload your data initially before building the functional profile? I feel like my tables just might not have the right format, which is:
GeneID Ontology Evidence GOID
1 110826457 MF IEA GO:0004888
But even if I calculated the frequencies (occurrence of GO term in data frame Cafin) manually, creating the mergedProfileList results in the error:
Error in !emptyCats : invalid argument type
Can anybody help me?
As it says, it needs an annotation for your organism so it can determine the background probabilities. What are the GeneIDs from? If these are IDs from a related organism then you might be able to use the annotation for it.
I create my own organism package with AnnotationForge. But what it is needed for goProfiles is the dataset org.Xx.egGO, which is not created w AnnotationForge. Any idea where I could look up a way to create this dataset and include it in my organism package?
Presumably you could use the same annotation. I'm assuming that the portion you're using now is just comprised of differentially expressed features.
Thanks for your answer.
I can see that:
Therefore, I assume that this dataset is a dataframe containing the above information. My problem is that I do not know which procedure to follow to include this datraframe as org.Xx.egGO in the package of my oprganism, which I created with
makeOrgPackage()from AnnotationForgeIt's not a data.frame, it just has a colnames accessor. That's a Go3AnnDbBimap object. I've never had to make one myself. Realistically speaking, it might be easier to just use a different package that lets you manually supply a background set of IDs.
I have the same problem. Did you find a solution?