treemapPlot: treemapPlot Plot GO terms as a treemap.

Description Usage Arguments Value Examples

View source: R/plotlib.R

Description

treemapPlot Plot GO terms as a treemap.

Usage

1
treemapPlot(reducedTerms, size = "score", ...)

Arguments

reducedTerms

a data.frame with the reduced terms from reduceSimMatrix()

size

what to use as point size. Can be either GO term's "size" or "score"

...

other parameters sent to treemap::treemap()

Value

A list from the call to the 'treemap()' function is silently returned

Examples

1
2
3
4
5
go_analysis <- read.delim(system.file("extdata/example.txt", package="rrvgo"))
simMatrix <- calculateSimMatrix(go_analysis$ID, orgdb="org.Hs.eg.db", ont="BP", method="Rel")
scores <- setNames(-log10(go_analysis$qvalue), go_analysis$ID)
reducedTerms <- reduceSimMatrix(simMatrix, scores, threshold=0.7, orgdb="org.Hs.eg.db")
treemapPlot(reducedTerms)

ssayols/rrvgo-ci documentation built on March 17, 2020, 12:14 a.m.