Description Usage Arguments Value Examples
Find fasta files present in a folder
1 | find_fasta(dir, pattern = "\\.fa$|\\.fas$|\\.fasta$", exclude)
|
dir |
Path to the directory which should be examined. If not provided,
the current working directory (as returned by |
pattern |
Regular expression used by |
exclude |
Optional regular expression used to exclude some filenames from the list of detected files. |
A vector with the full paths to the found files.
1 2 3 4 5 6 | # Get the directory containing the package example files
dir <- system.file("extdata", package = "concatipede")
# List the fasta files containing in that directory
find_fasta(dir)
# Exclude some files
find_fasta(dir, exclude = "COI")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.