从FlowJo导入手动门控到R(流式细胞术分析)

时间:2016-05-02 15:02:06

标签: r excel

我遇到了将.xls或.wspt文件读入R的问题。这是一个流式细胞仪手动门控模式表。我的代码如下:

   flowData = system.file("extdata",package="flowWorkspace")
   file = list.files(flowData,pattern="manual.xls"/"manual.wspt", full=TRUE)
   ws = openWorkspace(file)

当我尝试使用openWorkspace阅读时,.xls文件会出错:

Start tag expected. "(" not found. 

我在另一篇文章中看到过这个错误,但它似乎并不能解释我的情况。 而,为了打开.wspt文件,我收到一个错误:

error in data.frame...arguments imply differing number of rows:1,0. 

这两个文件(.xls和.wspt)都包含相同的信息。我只是想尝试阅读它们。

0 个答案:

没有答案