Displaying 2 results from an estimated 2 matches for "aml1".
Did you mean:
3ml1
2006 Jan 20
3
command in survival package
Hi there,
I have a question about one command sentence when I follow the example
in the book of "Survival analysis in S":
> aml1<-aml[aml$group==1]
but I got the error warning: NULL data frame with 23 rows
Thus, I couldn't keep going on the next command:
esf.fit<-survfit(Surv(aml1,status)~1).
and also when I try
> aml1<-aml[aml$group==1,]
> aml1
I got
[1] time status x...
2011 Jun 26
2
Ordering a matrix based on cluster no
Hi All
I have a symmetric matrix of genes ( 100x100 matrix). I also have a matrix
(100x2) of two columns where column 1 has the gene names and column 2 has
the cluster it belongs to (they are sorted and grouped based on the cluster
no).
I would like to order the rows and columns of the 100x 100 matrix such that
the first n genes correspond to cluster 1 and next n genes correspond to
cluster 2