Hello all,
I want to construct "Two way Matrix". The Algorithm is like:
1) Data of time with censoring or events
2) Predictor variables (genes)
3) Resample original data in step 1 and 2 by WR
4) Apply Coxph Model to resample data. (Apply Surv function to each Predictor
variable, individually)
5)
Give value 1 if it's P-value is less than 0.05, otherwise 0. Save it in
the first Column (Column of 0's and 1's) of the Matrix.
6) Iterate the process 1 to 5, 10 times. And make 10 Columns of 0's and 1's.
I have done the programming for it, but gives problem in Matrix. I cannot post
the program, that I made.
Because it may contain more errors and a little confusing.
Thanks in advance. Hope for the best.
Best Regards
Fazli Raziq
[[alternative HTML version deleted]]
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.