plot_wordcloud: Plot a word cloud from a named vector of word counts

View source: R/Visualizations_general.R

plot_wordcloudR Documentation

Plot a word cloud from a named vector of word counts

Description

Plot a word cloud from a named vector of word counts

Usage

plot_wordcloud(
  word_count,
  max.words = 100,
  colors = brewer.pal(8, "Dark2"),
  min.freq = 1
)

Arguments

word_count

A named vector where the names are words and the values are counts

max.words

The maximum number of words to display in the word cloud (default: 100)

colors

The color palette to use for the word cloud (default: brewer.pal(8, "Dark2"))

min.freq

The minimum frequency of a word to be included in the word cloud (default: 1)

Value

A plot of the word cloud


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.