GOtable3 | R Documentation |
tabulate number of geneList mappings to GO categories
GOtable3(hgncList, DB)
hgncList |
character list of gene names |
DB |
selected ontology branch of return value of subsetGOGOA |
returns a list whose components are c("DB","table","ngenes") where 'DB' is the GO DB subsetted to the desired ONTOLOGY, and 'table' is tabulation of number of occurrences of each GO category name within the desired ONTOLOGY, and ngenes is the total number of hgncList genes mapping to GOGOA
## Not run:
# GOGOA3.RData is too large to include in the R package
# so I need to load it from a file that is not in the package.
# Since this is in a file in my own file system, I could not
# include this as a regular example in the package.
# you can generate it using the package 'minimalistGODB'
# or you can retrieve it from https://github.com/barryzee/GO/tree/main/databases
load("/Users/barryzeeberg/personal/GODB_RDATA/goa_human/GOGOA3_goa_human.RData")
x<-GOtable3(cluster52,GOGOA3$ontologies[["biological_process"]])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.