getCruiseFiles: Get all of the files from a cruise.

Description Usage Arguments Value Examples

Description

This is a convenience function to grab all of the raw data files from the all of the julian day sub directories in a seaflow cruise directory.

Usage

1
getCruiseFiles(cruise.dir='.', prefix='[0-9]{1,3}', ext='\\.evt', range=NULL)

Arguments

cruise.dir

Path to cruise.

prefix

a prefix to add to the files you wish to list.

ext

extension of the files of interest.

range

A named, two-integer vector specifying the start and end (inclusive) range for subsetting the input files used in each analysis step (with the exception of summarize). Values should be a (evt/opp) file numbers and names should be strings corresponding to the year_julianday directory names. The nv() function is useful for creating this vector.

Value

a vector of cruise file names

Examples

1
2
path <- system.file("extdata","seaflow_cruise", package="flowPhyto")
getCruiseFiles(path)

armbrustlab/flowPhyto documentation built on May 10, 2019, 1:40 p.m.