s********y 发帖数: 11 | 1 就是算两组data的correlation,请问为何出现这种错误?
在linux下,已经决定 两组data的变量数目是1622 和22156
goi<-read.table("TF_1622_58chips.txt",header=T,row.names=1); # This file
contains genes of interest, 189 chip data
attach(as.data.frame(goi));
a<-as.data.frame(t(goi));
n=1622;
tg <- read.table("22156_58chips_water_genome.txt",header=T,row.names=1); #
contain all genes, 189 chip data
attach(as.data.frame(tg));
a1<-as.data.frame(t(tg));
m=22156;
x<-array(c(1:m, 0), dim=c(m, 3));
for (i in 1:n) {
for (j in 1:m) {
y<-cor.test | s*******a 发帖数: 705 | 2 what's the output of dim(a1) ?
#
【在 s********y 的大作中提到】 : 就是算两组data的correlation,请问为何出现这种错误? : 在linux下,已经决定 两组data的变量数目是1622 和22156 : goi<-read.table("TF_1622_58chips.txt",header=T,row.names=1); # This file : contains genes of interest, 189 chip data : attach(as.data.frame(goi)); : a<-as.data.frame(t(goi)); : n=1622; : tg <- read.table("22156_58chips_water_genome.txt",header=T,row.names=1); # : contain all genes, 189 chip data : attach(as.data.frame(tg));
| s********y 发帖数: 11 | 3
ok, dim(a)=1621 and dim(a1)=22155
【在 s*******a 的大作中提到】 : what's the output of dim(a1) ? : : #
| s********y 发帖数: 11 | 4 thank you , I figured that out .... |
|