View source: R/checkValidFiles.R
checkValidFiles | R Documentation |
This function takes one or more file paths, and returns TRUE if all paths point to valid files, and FALSE otherwise. If return_full_path = TRUE and all paths are valid, function returns absolute paths. If return_invalid = TRUE and there are invalid paths, function returns invalid paths.
checkValidFiles(alignment_path, return_full_path, return_invalid)
alignment_path |
A character vector of one or more alignment file paths (relative or absolute) |
return_full_path |
OPTIONAL: If TRUE and all paths are valid, function returns absolute paths [Default: FALSE] |
return_invalid |
OPTIONAL: If TRUE and any paths are invalid, function returns invalid paths [Default: FALSE] |
TRUE if all paths point to valid files, otherwise FALSE. If return_full_path = TRUE and all paths are valid, function returns absolute paths. If return_invalid = TRUE and there are invalid paths, function returns invalid paths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.