inst/examples/indexTest.R

library(ReportingTools)
library(ALL)
library(hgu95av2.db)
library(genefilter)
library(GOstats)
library(limma)
library(GSEAlm)
library(GSEABase)

#I was tired of waiting a noticable amount of time each time I wanted to test this stuff. Original code in the if(FALSE) at the bottom of this file
load("gores.rda")
myrep = HTMLReport(reportDirectory = "./",shortName="indextest", handlers = fileWIndexHandlers)
stuff = publish(goResults, myrep, selectedIDs=selectedIDs, annotation.db="org.Hs.eg", name = "GO Results")

#trace(ReportingTools:::objectToHTML, browser, signature=c(objbect="ANY"))

fiveCol = function(df, ...) cbind(df, fives=5)
stuff2=publish(goResults, myrep, selectedIDs=selectedIDs, annotation.db="org.Hs.eg", .addColumns = list(addReportColumns,fiveCol), name = "GO Results with 5s")

finish(myrep )


#elids = c("hi", "low")
#Link(elids, paste0("#",elids))

Try the ReportingTools package in your browser

Any scripts or data that you put into this service are public.

ReportingTools documentation built on March 10, 2021, 2 a.m.