Entering edit mode
                    Pieter Coussement
        
    
        ▴
    
    30
        @pieter-coussement-5732
        Last seen 11.2 years ago
        
    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]]
                    
                
                