Saves a TypoPrompt object as either its exact plain-text prompt or a
self-contained interactive HTML page.
Usage
saveTypoPrompt(x, file, format = c("txt", "html"))Arguments
- x
A
TypoPromptobject returned bytypoPrompt.- file
Character string giving the output file path.
- format
Output format:
"txt"for the raw prompt or"html"for the interactive HTML viewer.
Examples
if (FALSE) { # \dontrun{
prompt <- typoPrompt(clust_obj)
saveTypoPrompt(prompt, "cell_annotation_prompt.txt", format = "txt")
saveTypoPrompt(prompt, "cell_annotation_prompt.html", format = "html")
} # }