Learn R Programming

mLLMCelltype (version 1.3.2)

process_controversial_clusters: Process controversial clusters through discussion

Description

Process controversial clusters through discussion

Usage

process_controversial_clusters(
  controversial_clusters,
  input,
  tissue_name,
  successful_models,
  api_keys,
  individual_predictions,
  top_gene_count,
  controversy_threshold,
  entropy_threshold,
  max_discussion_rounds,
  cache_manager,
  use_cache,
  consensus_check_model = NULL,
  force_rerun = FALSE
)

Value

A list containing discussion logs and final annotations

Arguments

controversial_clusters

List of controversial cluster IDs

input

Either the differential gene table or a list of genes

tissue_name

The tissue type or cell source

successful_models

Vector of successful model names

api_keys

Named list of API keys

individual_predictions

List of predictions from each model

top_gene_count

Number of top differential genes to use

controversy_threshold

Threshold for marking clusters as controversial

max_discussion_rounds

Maximum number of discussion rounds for controversial clusters

cache_manager

Cache manager object

use_cache

Whether to use cached results

consensus_check_model

Model to use for consensus checking

force_rerun

Whether to force re-analysis, ignoring cache