Fix the odour labels in an odd config

fix.odd(odddf, fixChannels)

Arguments

odddf

odour config as read in by read.odd

fixChannels

Named vector of old integer channels with new odour names

Value

dataframe with fixed odd config

Examples

odd<-read.odd(system.file("igor","oddfiles","simple_odd.txt",package="gphys")) fixVec=c(empty=31,IAA=30,cVA=29,PAA=27,`4ol`=26,ctr=25) fixed=fix.odd(odd,fixVec)