clearOutputs: Clear the output files from particular flowPhyto pipeline...

Description Usage Arguments Value Examples

Description

Each step of the flowPhyto pipeline generates many files which are used as indicators of completion. This function helps to clear those files away to allow for proper waiting between steps of a pipeline rerun.

Usage

1
clearOutputs(cruise.path='.', steps=1:4)

Arguments

cruise.path

Path to the cruise directory.

steps

Steps for which to clear the outputs.

Value

none

Examples

1
2
3
4
5
6
7
8
example.cruise.name <- 'seaflow_cruise'
temp.out.dir <- '.'

seaflow.path <- system.file("extdata", example.cruise.name, package="flowPhyto")
file.copy(from=seaflow.path, to=temp.out.dir, recursive=TRUE)

clearOutputs(paste(temp.out.dir,'/',example.cruise.name,sep=''), steps=3)
unlink(example.cruise.name, recursive=TRUE)

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