[BioC] FlowCore: problem with reading and writing fcs files

Mike wjiang2 at fhcrc.org
Thu Jan 30 01:06:53 CET 2014


I pushed the fix to flowCore 1.28.21, which will appear in one day or two.

Mike
On 01/29/2014 03:00 AM, bioconductor-request at r-project.org wrote:
> I would like to save transformed FCS files however I run into the problem that when the transformed files are written and read back the parameters at data fields are of type INTEGER (even though before they were DOUBLE and they still have the correct values). This completely confuses other flow functions (for example density plotting). I can easily fix the file after reading but I would like to transform a lot of files and have them be usable by others without any qualifications.
>
> See example bellow:
>
>> >tmp=read.FCS("001.fcs")
> Warning message:
> In readBin(con = con, what = dattype, n = count, size = size, signed = signed,  :
>    'signed = FALSE' is only valid for integers of sizes 1 and 2
>> >typeof(tmp at parameters@data[,5])
> [1] "double"
>> >tf=transformList(colnames(tmp), logicleTransform())
>> >tmp1=transform(tmp,tf)
>> >typeof(tmp1 at parameters@data[,5])
> [1] "double"
>> >write.FCS(tmp1, file="tmp.FCS")
> [1] "tmp.FCS"
>> >tmp2=read.FCS("tmp.FCS")
> Warning message:
> In readBin(con = con, what = dattype, n = count, size = size, signed = signed,  :
>    'signed = FALSE' is only valid for integers of sizes 1 and 2
>> >typeof(tmp2 at parameters@data[,5])
> [1] "integer"
>



More information about the Bioconductor mailing list