楼主: linghonghong
23599 18

[求助]如何用R打开cel文件 [推广有奖]

  • 0关注
  • 0粉丝

初中生

61%

还不是VIP/贵宾

-

威望
0
论坛币
9 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
544 点
帖子
29
精华
0
在线时间
2 小时
注册时间
2007-8-31
最后登录
2014-5-5

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

基因芯片原始数据是cel文件,相通过R和bioconductor来处理,但不知道如何将cel文件打开?能否告知?谢谢!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:cel 如何用 Bioconductor conduct 基因芯片 文件 cel

沙发
yiyo900 发表于 2007-11-13 19:51:00 |只看作者 |坛友微信交流群

#Move your CEL files into your working directory and

#make sure that the corresponding CDF library for

#your chips is available on your system.

#the current working directory is shown by getwd()

#and may be set using setwd()

library(affy)        # Loads the affy package.

mydata <- ReadAffy() # Reads all *.CEL (*.cel) files

# or

mydata <- ReadAffy(widget=TRUE) # Opens file browser to

                              select specific CEL files.

使用道具

藤椅
linghonghong 发表于 2007-11-14 09:32:00 |只看作者 |坛友微信交流群

我用了这种方法,但是每次都出现一下的错误信息:

载入需要的程辑包:tkWidgets
载入需要的程辑包:widgetTools
载入需要的程辑包:tcltk
载入Tcl/Tk接口... 完成
载入需要的程辑包:DynDoc
错误于read.AnnotatedDataFrame(widget = TRUE) :
  Sorry: tkWidgets support is not available for read.AnnotatedDataFrame
其中有一个程序包:tcltk我没有安装外,还没有找到在哪个(biocsoftware,bioc annoation等),其他的都安装了,不知道是怎么回事?。我用的是windows版的。

使用道具

板凳
linghonghong 发表于 2007-11-14 09:35:00 |只看作者 |坛友微信交流群

我现在把所有有用的软件包都装了之后,还是打不开,出现的提示是:

错误于read.AnnotatedDataFrame(widget = TRUE) :
  Sorry: tkWidgets support is not available for read.AnnotatedDataFrame

到底是怎么一回事?

使用道具

报纸
linghonghong 发表于 2007-11-14 09:37:00 |只看作者 |坛友微信交流群
我只有cel文件。用的是别人的数据。你提到的:corresponding CDF library 是指的什么library?我如何导入到电脑里?

使用道具

地板
linghonghong 发表于 2007-11-14 10:19:00 |只看作者 |坛友微信交流群
以下是引用yiyo900在2007-11-13 19:51:00的发言:

#Move your CEL files into your working directory and

#make sure that the corresponding CDF library for

#your chips is available on your system.

#the current working directory is shown by getwd()

#and may be set using setwd()

library(affy)        # Loads the affy package.

mydata <- ReadAffy() # Reads all *.CEL (*.cel) files

# or

mydata <- ReadAffy(widget=TRUE) # Opens file browser to

                              select specific CEL files.

[求助]如何用R打开cel文件

这是我的操作过程。

使用道具

7
yiyo900 发表于 2007-11-14 11:47:00 |只看作者 |坛友微信交流群

用下面两种数据都可,

.cel files要放在 c:\celfiles folder 内.

记得要连上网络,才能自动安装'xxxxxcdf

1)GSE5617 series

 http://bioinfo.ucr.edu/%7Etgirke/HTML_Presentations/Gen240B/2007/Homework/CEL.zip

2)C:\Program Files\R\R-2.6.0\library\affydata\celfiles

############

library(affy)

setwd('c:/celfiles')

#Read in the data and create an expression,using RMA for example.

Data <- ReadAffy()  ##read data in working directory

eset <- rma(Data)

#Exporting data from 'ExpressionSet' objects

write.exprs(eset, file="mydata.txt")

 

 

使用道具

8
linghonghong 发表于 2007-11-15 09:35:00 |只看作者 |坛友微信交流群
我把cel文件全部放到celfiles之后,按照你说的操作,还是出现问题。 [求助]如何用R打开cel文件

使用道具

9
yiyo900 发表于 2007-11-15 11:23:00 |只看作者 |坛友微信交流群

1.依你存放文件的位置:

  library(affy)

  setwd(D:/Program Files/R/R-2.6.0/library/affydata/celfiles)

  Data <- ReadAffy('SO_12H_A.cel')  ##read data in working directory

  eset <- rma(Data)

  write.exprs(eset, file="mydata.txt")

2.由于Bioconductor需要安装的package,实在太多,太大,

  为节省hard disk空间,我并没安装user interfaces(Package: tkWidgets)

  不过这个的确存在问题,

  建议先不要使用ReadAffy(widget=TRUE)

  请看这个帖的讨论:

  https://stat.ethz.ch/pipermail/bioconductor/2007-September/019248.html

[此贴子已经被作者于2007-11-17 8:10:43编辑过]

使用道具

10
linghonghong 发表于 2007-11-16 09:13:00 |只看作者 |坛友微信交流群

[求助]如何用R打开cel文件


首先感谢您的热心帮助。

我安装的是R2.6的版本。bioconductor是通过网络安装的,应该是最新版本的吧,现在按照您说的操作。它说找不到我指定的文件,就觉得很奇怪了,我明明把它存放在那里的。

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 05:29