Entering edit mode
Daniel Brewer
★
1.9k
@daniel-brewer-1791
Last seen 10.2 years ago
Hi,
This is a silly little question, but I can't find the answer. I have
a
matrix of expression values e.g. expression. When I display either
one
column or one row it displays a list e.g. expression[1,] or
expression[,1]. Is there a way to change this behaviour?
When I constructed a test matrix, the matrix worked as desired i.e.
> togo <- matrix(c(1,2,3,4),ncol=2, nrow=2)
> togo[,1]
[1] 1 2
Why is the behaviour different?
Many thanks
Dan
--
**************************************************************
Daniel Brewer, Ph.D.
Institute of Cancer Research
United Kingdom
**************************************************************
The Institute of Cancer Research: Royal Cancer Hospital, a charitable
Company Limited by Guarantee, Registered in England under Company No.
534147 with its Registered Office at 123 Old Brompton Road, London SW7
3RP.
This e-mail message is confidential and for use by the
addre...{{dropped}}