Description Usage Arguments Details Value Examples
View source: R/importPeakFQ_oneFile.R
The importPeakFQ_oneFile
function reads output from PeakFQ when the
output is contained in a a single EXP file and a single PRT file.
1 | importPeakFQ_oneFile(pfqPath, destination = "peakFQ_extract")
|
pfqPath |
A directory that contains a single EXP file and a single PRT file, both from peakFQ and both containing the same gage IDs. |
destination |
The directory name that will be created to hold all of the output from this function. |
This function allows users to parse the output from peakFQ when all
sites are contained in a single EXP and a single PRT file. This function
will create new files, with a single EXP and a single PRT for each site,
that can then be imported using importPeakFQ
.
WARNING: This function will create new files on your computer.
Creates a directory structure in destination
that contains a
directory for each station number in the EXP file. Each gage subdirectory
will contain the resulting single-site EXp and PRT files.
1 2 3 4 | peakFQdir <- paste0(
file.path(system.file("exampleDirectory", package = "WREG"),
"pfqImport_oneFile"))
importedData <- importPeakFQ_oneFile(pfqPath = peakFQdir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.