From a360eb01631816c373968ca8d470dfaace2a39d8 Mon Sep 17 00:00:00 2001 From: Ruben Dries Date: Wed, 3 Jul 2024 09:46:21 -0400 Subject: [PATCH] add writeChatGPTqueryDEG --- R/general_help.R | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/R/general_help.R b/R/general_help.R index 853bfc91d..d1d87323a 100644 --- a/R/general_help.R +++ b/R/general_help.R @@ -288,11 +288,11 @@ rank_binarize_wrapper <- function( #' @details This function does not run any LLM service. It simply creates the .txt #' file that can then be used any LLM service (e.g. OpenAI, Gemini, ...) #' @export -writeChatGPTquery = function(DEG_output, - top_n_genes = 10, - tissue_type = 'human breast cancer', - folder_name = getwd(), - file_name = 'chatgpt_query.txt') { +writeChatGPTqueryDEG = function(DEG_output, + top_n_genes = 10, + tissue_type = 'human breast cancer', + folder_name = getwd(), + file_name = 'chatgpt_query.txt') { chatgpt_query = paste0("Identify cell types of ", tissue_type, " tissue using the following markers. Identify one cell type for each row. Only provide the cell type name and the marker genes used for cell type identification.")