files_to_list | R Documentation |
convert a vector of file paths into a named list
files_to_list(files, label_index = -1)
files |
Vector of file paths (eg., by using "list_files()") |
label_index |
Which item in the path to return? 1-indexing. If <1, samples selected from the end. |
list of files
files = c('/path/to/project/Sample1/table.txt', '/path/to/project/Sample2/table.txt') files_to_list(files, -1) files = c('/path/to/project/Sample1.txt', '/path/to/project/Sample2.txt') files_to_list(files, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.