由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 一个R的问题
相关主题
fresh生统小硕找工作求refer请教:多个csv文件(>100)怎么用"proc sql" merge成一个文件?
R 基本问题请教请问如何写R的macro.
关于在R中对字符数组进行比较问一个R的问题
一个数据文件里边某些cell 包含字符“,”的问题急问关于.RData文件
请问sas里,怎么在PROC IMPORT的时候指定变量的格式SAS 求助: filenames
SAS 数据读入的问题 (proc import)R能处理多大的数据集?
问题又来了。SAS读excel的问题。R Bioconductor problem
问个sas日期小白问题proc import problem
相关话题的讨论汇总
话题: gpr话题: data话题: filenames话题: file话题: marray
进入Statistics版参与讨论
1 (共1页)
z**********i
发帖数: 12276
1
有50个.gpr文件,如何导到R中?多谢!
t**i
发帖数: 688
2
If you know how to import a single .gpr into R, then just add a loop on top
of it for 50 .gpr files. Of course, you need to manege data objects well in
R.
If you do not know how to deal with a .gpr file, then we can discuss it.
First let's see what the file content look like and what do you want to do
with it?
t**i
发帖数: 688
3
Check BioConductor to see whether it has some package capable of importing .
gpr file.
If you need to write your R code from scratch to import .gpr file, it could
take some time and you'd better ask for local help.
l*******l
发帖数: 204
4
library(marray)
filenames <- c("xx","yy")
data<-read.GenePix(filenames)
save(data, “data_raw.RData”)
z**********i
发帖数: 12276
5
多谢回复!

.
could

【在 t**i 的大作中提到】
: Check BioConductor to see whether it has some package capable of importing .
: gpr file.
: If you need to write your R code from scratch to import .gpr file, it could
: take some time and you'd better ask for local help.

z**********i
发帖数: 12276
6
我试着导入一个文件:GSM170754.gpr
library(marray)
filenames <- c("GSM170754.gpr")
data <-read.GenePix(filenames)
save(data, 'data_raw.RData')
当读入DATA的时候报错:
Reading ... GSM170754.gpr
Error in if (skip > 0) readLines(file, skip) :
missing value where TRUE/FALSE needed
多谢指教!!
t**i
发帖数: 688
7
Not familiar with marray. Check for its default missing value setting and
what is being used in your own .gpr file.
l*******l
发帖数: 204
8
try LIMMA package
z**********i
发帖数: 12276
9
多谢各位.今天打开gpr文件只有一个COLOR,可能是因为这个没法用MARRAY读入?
SCAN可以存成.gpr,但只是单色文件.
在我印象中,CEL是单色,GPR是双色,看来理解有点错误.

【在 l*******l 的大作中提到】
: try LIMMA package
1 (共1页)
进入Statistics版参与讨论
相关主题
proc import problem请问sas里,怎么在PROC IMPORT的时候指定变量的格式
求Bioconductor Case Studies 电子书SAS 数据读入的问题 (proc import)
qvalue function in Bioconductor问题又来了。SAS读excel的问题。
[合集] qvalue function in Bioconductor问个sas日期小白问题
fresh生统小硕找工作求refer请教:多个csv文件(>100)怎么用"proc sql" merge成一个文件?
R 基本问题请教请问如何写R的macro.
关于在R中对字符数组进行比较问一个R的问题
一个数据文件里边某些cell 包含字符“,”的问题急问关于.RData文件
相关话题的讨论汇总
话题: gpr话题: data话题: filenames话题: file话题: marray