tfidf | R Documentation |
Run tf-idf on a metadata table.
tfidf(
clusts,
label_var = "dataset",
cluster_var = "seurat_clusters",
terms_per_cluster = 1,
replace_regex = "[.]|[_]|[-]",
force_new = FALSE,
with_ties = FALSE
)
clusts |
|
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. |
replace_regex |
Characters by which to split |
force_new |
If NLP results are already detected the metadata,
set |
with_ties |
Should ties be kept together? The default, |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.