Hi, I´m trying to use flowSOM with an FCS file an i´m having problems with the read.FCS function:
I´m trying the following code:
filename <- system.file("extdata", 'fusionLMA.fcs', package="FlowSOM") ff <- flowCore::read.FCS('fusionLMA.fcs')
and obtained the following error:
Error in flowCore::read.FCS("fusionLMA.fcs") : 'fusionLMA.fcs' is not a valid file
I can´t figure out what´s wrong, since the file is an FCS file . . . ```
Hi thank you very much, it worked! i have another problem with compensation. i tried the next code:
Does it mean that the compensation matrix was never extracted?
thank you very much
ff is a flowFrame. The flowWorkspace package has a compensate method (or function), but it does not accept a flowFrame as an argument.
The compensate function that applies to a flowFrame is the one from the flowCore package.