wordcloud_tfidf: Wordcloud from tf-idf results

View source: R/wordcloud_tfidf.R

wordcloud_tfidfR Documentation

Wordcloud from tf-idf results

Description

Wordcloud from tf-idf results

Usage

wordcloud_tfidf(
  obj,
  label_var = "celltype",
  cluster_var = "cluster",
  terms_per_cluster = 10,
  show_plot = TRUE,
  ...
)

Arguments

obj

Single-cell data object.

label_var

Which cell metadata column to input to NLP analysis.

cluster_var

Which cell metadata column to use to identify which cluster each cell is assigned to.

terms_per_cluster

The maximum number of words to return per cluster.

show_plot

Whether to print the plot.

...

Additional parameters to pass to ggplot2::ggplot(aes_string(...)).


neurogenomics/scNLP documentation built on Oct. 8, 2024, 5:30 p.m.