tfidf_label_markers: TF-IDF label markers

View source: R/tfidf_label_markers.R

tfidf_label_markersR Documentation

TF-IDF label markers

Description

Get marker genes for each cluster,

Usage

tfidf_label_markers(obj, markers, ...)

Arguments

...

Arguments passed on to run_tfidf

obj

Single-cell data object.

reduction

Name of the reduction to use (case insensitive).

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.

replace_regex

Characters by which to split label_var into terms (i.e. tokens) for NLP enrichment analysis.

terms_per_cluster

The maximum number of words to return per cluster.

force_new

If NLP results are already detected the metadata, set force_new=TRUE to replace them with new results.

return_all_results

Whether to return just the obj with updated metadata (TRUE), or all intermediate results (FALSE).

verbose

Whether to print messages.


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