Hi
Below is the code I used and the errors returned for the GOseq R package. I would appreciate any suggestions as to how to resolve them.
Regards
Bill
________________________________________________________
> library(goseq)
> de.genes <- scan("DE_genes.txt", what=character() )
Read 2744 items
> all.genes <- scan("all_genes.txt", what=character() )
Read 35180 items
> genes = as.integer(all.genes %in% de.genes)
> names(genes) = all.genes
> pwf = nullp(genes, "mm9", "ensGene")
Loading mm9 length data...
> mapping=read.table("innatedb.in",header=TRUE,sep="\t")
> innatedb=split(mapping$Pathway,mapping$ID)
> pathways=goseq(genes,pwf,gene2cat=innatedb)
Using manually entered categories.
Error in summary(map)[, 1] : incorrect number of dimensions
> head(pathways, n = 50)
Error in head(pathways, n = 50) : object 'pathways' not found
> enriched.pathways = pathways$category[pathways$upval < 0.01]
Error: object 'pathways' not found
> enriched.pathways
Error: object 'enriched.pathways' not found
Below is the code I used and the errors returned for the GOseq R package. I would appreciate any suggestions as to how to resolve them.
Regards
Bill
________________________________________________________
> library(goseq)
> de.genes <- scan("DE_genes.txt", what=character() )
Read 2744 items
> all.genes <- scan("all_genes.txt", what=character() )
Read 35180 items
> genes = as.integer(all.genes %in% de.genes)
> names(genes) = all.genes
> pwf = nullp(genes, "mm9", "ensGene")
Loading mm9 length data...
> mapping=read.table("innatedb.in",header=TRUE,sep="\t")
> innatedb=split(mapping$Pathway,mapping$ID)
> pathways=goseq(genes,pwf,gene2cat=innatedb)
Using manually entered categories.
Error in summary(map)[, 1] : incorrect number of dimensions
> head(pathways, n = 50)
Error in head(pathways, n = 50) : object 'pathways' not found
> enriched.pathways = pathways$category[pathways$upval < 0.01]
Error: object 'pathways' not found
> enriched.pathways
Error: object 'enriched.pathways' not found
Comment