[BioC] Error in .testGOFrame(x, organism)
Martin Morgan
mtmorgan at fhcrc.org
Fri May 25 15:09:38 CEST 2012
On 05/25/2012 02:35 AM, omranian wrote:
> Hello,
>
> Can anybody help me to solve this error? I can not understand it :(
>
> library(org.Sc.sgd.db)
> frame <- toTable(org.Sc.sgdGO)
> goframeData <- data.frame(frame$go_id, frame$Evidence,
> frame$systematic_name)
> goFrame <- GOFrame(goframeData, organism = "Saccharomyces cerevisiae")
> Loading required package: GO.db
>
> Error in .testGOFrame(x, organism) :
> All of the Evidence codes in your data.frame object must be legitimate
> Evidence Codes.
Hi Nooshin -- the AnnotationDbi package is slightly out of date with
respect to Evidence codes it selects; this is fixed in AnnotationDbi
1.18.1, which will be available for download via biocLite in a day or
so. A work-around is to drop the 13 'IRD' evidence codes,
> idx = goframeData$frame.Evidence != "IRD"
> table(idx)
idx
FALSE TRUE
13 73735
> goframeData = goframeData[idx,]
Martin
>
> Thanks a lot.
> Nooshin
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
Location: M1-B861
Telephone: 206 667-2793
More information about the Bioconductor
mailing list