View source: R/extractFilenames.R
extractFilenames | R Documentation |
This function extracts file names from the user prompt. Current filenames that are supported by this function are *.txt, *.tsv, *.csv *.xls, *.xlsx, *.bed, *.bigWig, *.bw and *.bigBed. Other filenames will not be extracted. If no filenames are found, the function will return NA.
extractFilenames(text)
text |
user prompt |
A list holding file names from the user prompt.
{
user_prompt <- "How do I perform PCA on data in my file called test.txt?"
extractFilenames(text=user_prompt)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.