User Tools

Site Tools


mkatari-bioinformatics-august-2013-loadingphytozome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mkatari-bioinformatics-august-2013-loadingphytozome [2015/06/18 07:24] mkatarimkatari-bioinformatics-august-2013-loadingphytozome [2015/06/18 09:05] mkatari
Line 29: Line 29:
 <code> <code>
  
-gene.list<-read.table("resSig.txt")+gene.list<-read.table("resSig.txt", header=T)
  
 </code> </code>
Line 41: Line 41:
                           row.names=1, quote="")                           row.names=1, quote="")
 goresults=doFisherTest(as.character(gene.list[,1]), goAnnot=goterm_annot) goresults=doFisherTest(as.character(gene.list[,1]), goAnnot=goterm_annot)
-write.table(goresults, "goresults", quote=F, sep="\t")+write.table(goresults, "goresults.xls", col.names=NA, quote=F, sep="\t")
 </code> </code>
 +
 +Visualizing your results in the GO-term graph. Use the RamiGO package. Simply provide the GO terms that are enriched and the corresponding p-value for the go-terms. By default it will save a file to your working directory called RamiGO.png
 +
 +<code>
 +source("http://bioconductor.org/biocLite.R")
 +biocLite("RamiGO")
 +library(RamiGO)
 +getAmigoTree(rownames(gotermresults)[1:3], c("blue","red","green"),gotermresults$AdjPval[1:3])
 +</code>
 +
mkatari-bioinformatics-august-2013-loadingphytozome.txt · Last modified: 2015/06/18 09:05 by mkatari