Hello,
I am also getting the following waring :
> gene_IDs_of_interest = head(unique(unlist(geneIds(GO_gsc))), 500)
> GO_BP = test_GO(gene_IDs_of_interest, ontology = "BP", gsc=GO_gsc, pval = 0.01)
> head(summary(GO_BP))
[1] GOBPID Pvalue OddsRatio ExpCount Count Size Term
<0 rows> (or 0-length row.names)
Warning message:
No results met the specified criteria. Returning 0-row data.frame
I am using the codes given on
https://github.com/davfre/GOstatsPlus/blob/master/R/test-GO.R
https://github.com/davfre/GOstatsPlus/blob/master/vignettes/GOstatsPlus.Rmd
But if I run just for head (first six entries), I am getting the the values.
> gene_IDs_of_interest = head(unique(unlist(geneIds(GO_gsc))))
> GO_BP = test_GO(gene_IDs_of_interest, ontology = "BP", gsc=GO_gsc, pval = 0.01)
> head(summary(GO_BP))
>summary(GO_BP)
GOBPID Pvalue OddsRatio ExpCount Count Size
1 GO:0008152 0.0001011770 10.491228 15.38028 23 26
2 GO:0009058 0.0002195926 Inf 8.28169 14 14
3 GO:0044237 0.0004129494 8.666667 14.19718 21 24
4 GO:0009987 0.0005816573 6.229167 18.92958 26 32
...
Structure gene_IDs_of_interest:
> gene_IDs_of_interest = head(unique(unlist(geneIds(GO_gsc))),500)
> length(gene_IDs_of_interest)
[1] 130
> str(gene_IDs_of_interest)
chr [1:130] "comp561024_c1_seq1" "comp559796_c2_seq1" ...
My input file which looks like this:
go_id evidence gene_id
1 GO:0000003 ISA comp561024_c1_seq1
2 GO:0002376 ISA comp550730_c0_seq1
3 GO:0002376 ISA comp557737_c4_seq4
4 GO:0002376 ISA comp562807_c1_seq1
.....
I think I am not defining the list "gene_Ids_of_Interest" properly. I would really appreciate any help.
Thanks
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.