Hi,
This is a quiet a specific question, but i really need help.

I'm using the flowCore package coming from BioConductor.
No i would like to do a transformation, a log tranformation.

Although i think i put everything like it should, i get this error:
Error in log(x, logbase) : Non-numeric argument to mathematical function
  which looks like a general calculating problem.

the code i use now is the following:

logTransi <- truncateTransform("truncate at 1", a=1)
testSetLog <- transform(testSet, 'FL10'= logTransi('FL10'), 
'FL11'=logTransi('FL11'))

testSet looks like this:
 > testSet
flowFrame object 'MarjanD.20120926.A.0026.fcs'
with 100000 cells and 14 observables:
             name desc range minRange maxRange
$P1  pulse.width <NA> 65536      768    65535
$P2      FSC_PER <NA> 65536        0    65535
$P3      FSC_PAR <NA> 65536        0    65535
$P4          SSC <NA> 65536        0    65535
$P5         FL01 <NA> 65536        0    65535
$P6         FL02 <NA> 65536        0    65535
$P7         FL03 <NA> 65536        0    65535
$P8         FL04 <NA> 65536        0    65535
$P9         FL05 <NA> 65536        0    65535
$P10        FL10 <NA> 65536        0    65535
$P11        FL11 <NA> 65536        0    65535
$P12        FL12 <NA> 65536        0    65535
$P13        FL13 <NA> 65536        0    65535
$P14        TIME <NA> 65536    47185    65535
78 keywords are stored in the 'description' slot

Other transformation (truncateTransform) don't give an error, this one 
does... Any help?

kind regards,
Pieter

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to