wordcloudPlot.Rd
wordlcoudPlot Plot GO reduced terms as a wordcloud.
wordcloudPlot(reducedTerms, onlyParents = TRUE, ...)
a data.frame with the reduced terms from reduceSimMatrix().
use only parent terms to calculate frequencies.
other parameters sent to wordcloud::wordcloud()
Nothing
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")
#> preparing gene to GO mapping data...
#> preparing IC data...
scores <- setNames(-log10(go_analysis$qvalue), go_analysis$ID)
reducedTerms <- reduceSimMatrix(simMatrix, scores, threshold=0.7, orgdb="org.Hs.eg.db")
#> 'select()' returned 1:many mapping between keys and columns
wordcloudPlot(reducedTerms, min.freq=1, colors="black")