wordcloud_rjs {RJSplot}R Documentation

Draw a wordcloud.

Description

wordcloud_rjs creates a wordcloud.

Usage

wordcloud_rjs(data, plot = TRUE, jupyter = FALSE, dir = tempdir())

Arguments

data

a two column data Frame with the words to display and their frequency.

plot

open resulting graph in your browser.

jupyter

embed the graph as an iframe into a Jupyter Notebook.

dir

a "character" string representing the directory where the graph will be saved.

Value

The function creates a folder in your computer with an HTML document named index.html which contains the graph. This file can be directly opened with your browser.

Author(s)

David Barrios and Carlos Prieto. Bioinformatics Service of Nucleus, University of Salamanca. See https://bioinfo.usal.es/

See Also

The ‘RJSplot’ Website: https://rjsplot.usal.es

dendrogram_rjs, densityplot_rjs, genomemap_rjs, heatmap_rjs, manhattan_rjs, network_rjs, scatterplot_rjs, symheatmap_rjs, wordcloud_rjs, boxplot_rjs, bubbles_rjs, hiveplot_rjs, piechart_rjs, barplot_rjs, tables_rjs, surface3d_rjs, scatter3d_rjs.

Examples

## Create an interactive heatmap in a temporal directory of your local machine
## Live examples on https://rjsplot.usal.es

## Format test data
words <- data.frame(word = rownames(USArrests), freq = USArrests[,4])

# Create WordCloud
if(interactive()){
wordcloud_rjs(words)
}

[Package RJSplot version 2.7 Index]