View source: R/dada_wrappers.R
validateIO | R Documentation |
Internal function for validating the input and output path arguments
to any of the DADA2 wrapper functions. Keeps only existing input
files. Output directory is modifiable by processing batches via
NEONMICROBE_DIR_OUTPUTS
.
validateIO(
fn,
in_subdir,
out_subdir,
in_explicitdir,
out_explicitdir,
targetGene = c("16S", "ITS"),
validate_input_only = FALSE
)
fn |
Base names of input fastq files. If inputs are not base names (i.e. if they include directory paths), the directory paths will be removed. Files that do not exist will be ignored; however, if all files do not exist, this function will issue a warning. |
in_subdir |
Subdirectory name from which to retrieve input fastq files. Enter "raw" for raw sequence files, or any other character string to specify a subdirectory within |
out_subdir |
Subdirectory name where output fastq files will be written. Enter any character string to specify a subdirectory within |
in_explicitdir , out_explicitdir |
Directory names to use instead of 'in_subdir' and 'out_subdir', if static directory names or directories outside of |
targetGene |
Either "16S" or "ITS". |
List.
fn: Full paths to input files.
fn_out: Full paths where each file will be written after processing.
in_dir: Full path to input directory.
out_dir: Full path to output directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.