Re: [R] Problem in Matrix

2013-06-17 Thread Adams, Jean
F Raziq, Here's a little something to get you started. For ease of viewing, I set P = 10 and n = 5 (instead of 100 and 50), but this can easily be changed. You don't say what your original data looks like, so I assumed it was zeroes and ones to start with. I show an example of a single bootstra

[R] Problem in Matrix

2013-06-14 Thread Fazli Raziq
Hello, Suppose, I have P = 100 genes variables and each consists of n = 50 values. Now I want to Bootstrap (With Replacement) 50 times and 100 iterations. I want P in columns and Bootstrap iterations in Rows. Also, when genes are selected in Bootstrap (WR) give it value "1", if not selected "0".