consensusFile: Create a consensus from several classification vector files...

Description Usage Arguments Value Examples

Description

Create a consensus from several classification vectors and cross tabulate the population composition

Usage

1
2
3
consensusFile(opp.path, pattern='.[0-9]+-class.vct$', 
		output.path= paste(.createOutputPath(opp.path, 
			getCruisePath(opp.path)), ".consensus.vct", sep =""))

Arguments

opp.path

Path to OPP event file.

pattern

The suffix regular expression pattern used to find the n pass vector files for this opp file

output.path

Path to the directory where you wish to output data.

Value

a one dimentional consensus vector file on disk and an invisible vector in memory

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
cruise.nm <- 'seaflow_cruise'
temp.out.dir <- '.'

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

opp.file.path <- system.file("extdata","seaflow_cruise","2011_001", "1.evt.opp", 
				package="flowPhyto")

consensusFile(opp.path=paste(temp.out.dir,'/',cruise.nm,'/2011_001/1.evt.opp',sep=''))
unlink(cruise.nm, recursive=TRUE)

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