On 12/04/2009 02:24 PM, Romain Francois wrote:
On 12/04/2009 02:18 PM, Lee William wrote:
Dear All,
I have a correlation matrix say 'M' (4000x4000) for 4000 genes and I
want to
subset it to 'N' (190x190) for 190 genes.
The list of those 190 genes are in variable 't'. So the idea is to
read the
Will something like this work for you:
> x <- matrix(1:100,10)
> dimnames(x) <- list(letters[1:10], LETTERS[1:10])
> x
A B C D E F G H I J
a 1 11 21 31 41 51 61 71 81 91
b 2 12 22 32 42 52 62 72 82 92
c 3 13 23 33 43 53 63 73 83 93
d 4 14 24 34 44 54 64 74 84 94
e 5 15 25 35
On 12/04/2009 02:18 PM, Lee William wrote:
Dear All,
I have a correlation matrix say 'M' (4000x4000) for 4000 genes and I want to
subset it to 'N' (190x190) for 190 genes.
The list of those 190 genes are in variable 't'. So the idea is to read the
names of genes from variable 't' and subset the
Dear All,
I have a correlation matrix say 'M' (4000x4000) for 4000 genes and I want to
subset it to 'N' (190x190) for 190 genes.
The list of those 190 genes are in variable 't'. So the idea is to read the
names of genes from variable 't' and subset the matrix M accordingly.
Any thoughts are welcome
4 matches
Mail list logo