Description Usage Arguments Value Author(s) Examples
This function creates a summary plot of GO$BP results by parsing GO results using grep and a list of search terms
1 2 3 4 | ParseGOBPnPlot(grepList,GOresults, minT=0, Rorder=NULL,
my_palette=colorRampPalette(c("white", "red"))(n = 8),
main = "GO Enrichment",
zlim = c(0,15), hlines=NULL )
|
grepList |
A list object where each value contains a group of search terms sperated by "|". The names and order values will be taken into account when plotting. |
GOresults |
A list containing multiple GO$BP objects from GOanalysis |
minT |
An integer specifying the minimum number of time a term must occur to be considered important. Default = 0 |
Rorder |
Row order for how the results shoul dbe plotted |
main |
Title of the plot |
zlim |
Range specifying the p-values to be plotted |
hlines |
A "cumsum()" vector designating breaks for grouping modules |
mypalette |
Color palette used for heatmap |
Returns summary figure and summary table of results used to generate figure
Matthew Zinkgraf, mzinkgraf@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #generate some data
set1 <- sample(Ptrichocarpa_210_annotation_primary$ATG)[1:2000]
set2 <- sample(Ptrichocarpa_210_annotation_primary$ATG)[1:2000]
#calculate GO enrichment for BP
GOresults<-list
GOresults$set1<-atGOanalysis(set1,ontology="BP)
GOresults$set2<-atGOanalysis(set2,ontology="BP)
#create search list
grepList<-list()
grepList$hormone<-"hormone|gibberelli|brassino|auxin"
grepList$peroxisome <- "peroxi"
grepList$localization <-"protein localization"
results<-ParseGOBPnPlot(grepList, GOresults)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.