Displaying 2 results from an estimated 2 matches for "hott2".
Did you mean:
host2
2011 Mar 05
2
subscript out of bounds
Dear ALL
I cannot run this line
stat.obs <- apply (GS, 2, function(z) Hott2(t(DATA[which(z==1),]), cl))
Error in Hott2 (t(DATA[which(z == 1), ]), cl) : subscript out of bounds
I will be glade if you guide me.
*******************************************************************************
*GS is a matrix 1857*200
*DATA is a matrix 1857*79
*cl <- as.factor(y)
*y<...
2010 Dec 26
1
T2 hoteling
Dear All
It is very kind of you to guide me.
When I want to run this line, I see this error
stat.obs <- apply(GS, 2, function(z) Hott2(t(DATA[which(z==1),]), cl))
Error in colSums(w * x) : 'x' must be an array of at least two dimensions
cl <- as.factor(y)
GS: a matrix with 0 or 1
GS: gene sets
-> a data matrix with rows=genes,
columns= gene sets,
GS[i,j]=1 if gene i in gene set j
GS[i,j]=0 otherwise
Hott2 &l...