# Load/format gene list:
geneList <- c("YBL084C", "YDL008W", "YDR118W", "YDR301W", "YDR448W", "YFR036W",
"YGL240W", "YHR166C", "YKL022C", "YLR102C", "YLR115W", "YLR127C", "YNL172W",
"YOL149W", "YOR249C")
library(org.Sc.sgd.db)
geneLabels <- unlist(as.list(org.Sc.sgdGENENAME)[geneList])
geneExpr <- setNames(c(rep(1,10),rep(-1,5)), geneLabels)
# DAVID
results_David <- fea_david(geneList, geneLabels=geneLabels, email="example@email.com")
# Available IDs and annotations:
getIdTypes(DAVIDWebService$new(email="example@email.com"))
getAllAnnotationCategoryNames(DAVIDWebService$new(email="example@email.com"))
results <- fea_david(geneList, geneIdType="ENSEMBL_GENE_ID",
annotations="GOTERM_BP_ALL", email="example@email.com", jobName="yeastDavid")
# To continue the workflow... (see help for further details)
FGNet_report(results, geneExpr=geneExpr)
incidMat <- fea2incidMat(results)
functionalNetwork(incidMat, geneExpr=geneExpr)
Run the code above in your browser using DataLab