Description Usage Arguments Value Examples
View source: R/plotWordCloud.R
Plot Word Cloud
1 | plotWordCloud(wc, n = Inf, freq = TRUE, norm.freq = TRUE)
|
wc |
|
n |
Top "n" words to plot (numeric). Default is Inf (infinite), which uses all available words. |
freq |
Use frequency of the words as size. Default TRUE. |
norm.freq |
Use normalized frequency of the words as size. Default TRUE. |
A ggwordcloud object
1 2 3 4 5 6 | ontology.id <- sample_data$GOBP$ID[1:50]
network <- createOntologyNetwork(ontology.id, method = "jaccard", weighted = FALSE)
lc <- getLC(network)
oc <- getOntoClust(lc)
wc <- createWordCloud(oc)
plotWordCloud(wc, n = 10, freq = TRUE, norm.freq = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.