You should construct a 'transformList' for transforming multiple 
channels at a time.

transList <- transformList(logchannels, invLgcl)
x_trans <- transform(x, transList)

On 07/11/2014 11:52 AM, Allenby, Mark wrote:
>
> Mike and All,
>
> If you come back to this email, I have one more question for you.
>
> x <- transform(x, `405-525/50-A` = invLgcl(`405-525/50-A`))
>
> I am trying to set a loop to transform all my  parameter or channel 
> names (such as `405-525/50-A`) which I have indexed by string. What I 
> am currently trying and failing with is:
>
> for(i in 1:length(logchannels)){
>
> x <- transform(x, as.name(logchannels[i]) = 
> invLgcl(as.name(logchannels[i])))
>
> }
>
> Error: unexpected '=' in:
>
> "    invLgcl <- inverseLogicleTransform(trans = logicle)
>
>     x <- transform(x, as.name(logchannels[i]) ="
>
> Any idea how to reference those parameter channels correctly? 
> (logchannels is a vector of strings)
>
> Thanks for any help in advance, I'm going to post this to the group 
> board as well.
>
> Mark
>
>


	[[alternative HTML version deleted]]

