0
0
Entering edit mode
@bayram-sarilmaz-16272
Last seen 3.3 years ago
turkey

I'm trying to load flowCore library to read a flow cytometry file (.fcs), but I'm getting the following error:

> library (flowCore)
Error: package or namespace load failed for ‘flowCore’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘mvtnorm’
package ‘flowCore’ was built under R version 3.4.3

Error in read.FCS("MyFACsFile.fcs", transformation = FALSE) :
could not find function "read.FCS"

I tried re-installing the package, but still it didn't work, although I was able to read the same file using the same code few months ago. Any suggestions on what the problem is? and how to read .fcs files in R?

flowcore flow cytometry R • 2.6k views
0
Entering edit mode

Hi,

Something went wrong during the installation of flowCore. You need to solve all the dependencies that flowCore will complain about. For example, you should install the mvtnorm package, either using install.packages("mvtnorm") or BiocInstaller::biocLite("mvtnorm"). Then try again library(flowCore), and solve any remaining dependency.

0
Entering edit mode

Thanks. I installed the dependency, and was able to load flowCore. However, I'm still unable to read the file. Getting the following error: Error in read.FCS("MyFACsFile.fcs", transformation = FALSE) :  'MyFACsFile.fcs' is not a valid file. Although I was able to access the exact same file before!

1
Entering edit mode

Try the absolute full path to your fcs file.