wordcloudPlot: wordlcoudPlot Plot GO reduced terms as a wordcloud.

Description Usage Arguments Value Examples

View source: R/plotlib.R

Description

wordlcoudPlot Plot GO reduced terms as a wordcloud.

Usage

1
wordcloudPlot(reducedTerms, onlyParents = TRUE, ...)

Arguments

reducedTerms

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

onlyParents

use only parent terms to calculate frequencies.

...

other parameters sent to wordcloud::wordcloud()

Value

Nothing

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")
wordcloudPlot(reducedTerms, min.freq=1, colors="black")

rrvgo documentation built on Nov. 8, 2020, 6:17 p.m.