[BioC] matrix row/column displayed as a list

Daniel Brewer daniel.brewer at icr.ac.uk
Fri Mar 30 15:41:35 CEST 2007


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}}



More information about the Bioconductor mailing list