This function writes a query as a .txt file that can be used with ChatGPT or a similar LLM service to find the most likely cell types based on the top differential expressed genes (DEGs) between identified clusters.
writeChatGPTqueryDEG(
DEG_output,
top_n_genes = 10,
tissue_type = "human breast cancer",
folder_name = getwd(),
file_name = "chatgpt_query.txt"
)
writes a .txt file to the desired location
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, ...)