"goana"(de, geneid = rownames(de), FDR = 0.05, trend = FALSE, ...)
"kegga"(de, geneid = rownames(de), FDR = 0.05, trend = FALSE, ...)DGELRT object.nrow(de) or the name of the column of de$genes containing the Entrez Gene IDs.de$genes containing the covariate values.
If TRUE, then de$AveLogCPM is used as the covariate.goana.default or kegga.default.goana produces a data.frame with a row for each GO term and the following columns:
"BP", "CC" and "MF".kegga produces a data.frame as above except that the rownames are KEGG pathway IDs, Term become Path and there is no Ont column.
goana performs Gene Ontology enrichment analyses for the up and down differentially expressed genes from a linear model analysis.
kegga performs the corresponding analysis for KEGG pathways.
The Entrez Gene ID must be supplied for each gene.If trend=FALSE, the function computes one-sided hypergeometric tests equivalent to Fisher's exact test.
If trend=TRUE or a covariate is supplied, then a trend is fitted to the differential expression results and the method of Young et al (2010) is used to adjust for this trend.
The adjusted test uses Wallenius' noncentral hypergeometric distribution.
goana, topGO, kegga, topKEGG
## Not run:
#
# fit <- glmFit(y, design)
# lrt <- glmLRT(fit)
# go <- goana(lrt, species="Hs)
# topGO(go, ont="BP", sort = "up")
# topGO(go, ont="BP", sort = "down")
# ## End(Not run)
Run the code above in your browser using DataLab