Just to explain my previous mail, here is the output I get.
> dim(tissue.exp)
[1] 1532 20
> pick<-sample(tissue.exp,5,replace=TRUE)
> dim(pick)
[1] 1532 5
> tissue.exp.t<-t(tissue.exp)
> dim(tissue.exp.t)
[1] 20 1532
> pick<-sample(tissue.exp.t,5,replace=TRUE)
> dim(pick)
NULL
--------
Thanks ../Murli
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html