Nothing
gseaAnalysis<-function(hitVector, whichOnto){
hitVector<-factor(hitVector)
l <- 0
GOlist<-GOannotate(names(hitVector), whichOnto)
if (class(GOlist)=="try-error"){
invisible(GOlist)
}else{
if(whichOnto == "biological_process"){
whichOnto<-"BP"
}
if(whichOnto == "molecular_function"){
whichOnto<-"MF"
}
if(whichOnto == "cellular_component"){
whichOnto<-"CC"
}
try({
GOdata<-new("topGOdata", ontology=whichOnto, allGenes=hitVector,
annot=geneNameAnno, gene2GO=GOlist)
testStat<-new("weightCount", testStatistic=GOFisherTest, name="Fisher test",
sigRatio="ratio")
resultWeight<-getSigGroups(GOdata, testStat)
l <- GenTable(GOdata, resultWeight, topNodes=length(usedGO(GOdata)))
})
}
return(l)
}
gseaAnalysisPt1<-function(hitVector, whichOnto){
GOlist<-GOannotate(names(hitVector), whichOnto)
}
gseaAnalysisPt2<-function(hitVector, GOlist, whichOnto){
hitVector<-factor(hitVector)
if(whichOnto == "biological_process"){
whichOnto<-"BP"
}
if(whichOnto == "molecular_function"){
whichOnto<-"MF"
}
if(whichOnto == "cellular_component"){
whichOnto<-"CC"
}
GOdata<-new("topGOdata", ontology=whichOnto, allGenes=hitVector,
annot=geneNameAnno, gene2GO=GOlist)
testStat<-new("weightCount", testStatistic=GOFisherTest, name="Fisher test",
sigRatio="ratio")
resultWeight<-getSigGroups(GOdata, testStat)
l <- GenTable(GOdata, resultWeight, topNodes=length(usedGO(GOdata)))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.