Learn R Programming

mLLMCelltype (version 1.3.2)

get_initial_predictions: Get initial predictions from all models

Description

This function retrieves initial cell type predictions from all specified models. It is an internal helper function used by the interactive_consensus_annotation function.

Usage

get_initial_predictions(
  input,
  tissue_name,
  models,
  api_keys,
  top_gene_count,
  base_urls = NULL
)

Value

A list containing individual predictions and successful models

Arguments

input

Either the differential gene table or a list of genes

tissue_name

The tissue type or cell source

models

Vector of model names to use

api_keys

Named list of API keys

top_gene_count

Number of top differential genes to use

base_urls

Optional custom base URLs for API endpoints