Skip to content

Commit

Permalink
add writeChatGPTqueryDEG
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Dries committed Jul 3, 2024
1 parent 69c4d90 commit a360eb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/general_help.R
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down

0 comments on commit a360eb0

Please # to comment.