Error biexponential transform flowTrans
1
0
Entering edit mode
@peterrubbens-11606
Last seen 8.1 years ago

Using the package flowTrans to a flowFrame, I get the following error: 

Error in .Call("biexponential_transform", y, a, b, c, d, f, w, .Machine$double.eps^0.25,  : 
  "biexponential_transform" not available for .Call() for package "flowCore"
Error in p.ab$convergence : $ operator is invalid for atomic vectors. 

How do I solve this? 

flowtrans flow cytometry flowcore • 1.9k views
ADD COMMENT
0
Entering edit mode
Jiang, Mike ★ 1.3k
@jiang-mike-4886
Last seen 3.1 years ago
(Private Address)

The fix is in the latest github https://github.com/RGLab/flowTrans

try devtools::install_github("RGLab/flowTrans", ref = "trunk")

ADD COMMENT
0
Entering edit mode

Thanks, this seems to fix the error (in a number of cases). However, sometimes I get the following error: 

Error in optim(par = p.ab, mclMultivBiexpAB, y = y, c = p.cd[1], d = p.cd[2],  : 
  L-BFGS-B needs finite values of 'fn'

Is this due to the fcs-files? 

ADD REPLY
0
Entering edit mode

Can you share the reproducible example?

ADD REPLY
0
Entering edit mode
devtools::install_github("RGLab/flowTrans", ref = "trunk")

library(flowCore)

library(flowTrans)

path = "Desktop/directory/fcsfiles"

filenames = list.files(path)

flowData <- read.flowSet(path = path, transformation = FALSE, pattern = ".fcs")

flowframe <- flowData[[1]]
colnames <- colnames(flowframe)

flowframTrans <- flowTrans(flowframe,'mclMultivBiexp',colnames[1:30], n2f=FALSE, parameters.only = FALSE)

 

I can forward (or share) you an example of an fcs-file as well if you want to. 

 

ADD REPLY
0
Entering edit mode

you can post it as attachment to the github issue or email to wjiang2@fhcrc.org

ADD REPLY
0
Entering edit mode

Or can it be due to the fact that in the example above the scatter and fluorescence variables are all optimalized in the same run, whereas in the paper they are treated separately? 

ADD REPLY

Login before adding your answer.

Traffic: 826 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6