GSE2034 {nutshell} | R Documentation |
This data set represents 180 lymph-node negative relapse free patients and 106 lymph-node negate patients that developed a distant metastasis. It contains information on the time until relapse of last follow up for each patient, an indicator of whether the ER gene was expressed, and an indicator whether a relapse occurred.
This data set is used as an example in the book "R in a Nutshell" from O'Reilly Media.
data(GSE2034)
A data frame with 286 observations on the following 7 variables.
PID
GEO.asscession.number
lymph.node.status
negative
months.to.relapse.or.last.followup
relapse
ER.Status
ER-
and ER+
Brain.relapses
http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE2034
data(GSE2034) library(survival) GSE2034.Surv <- transform(GSE2034, surv=Surv( time=GSE2034$months.to.relapse.or.last.followup, event=GSE2034$relapse, type="right" ) ) GSE2034.survfit <- survfit( formula=surv~ER.Status, data=GSE2034.Surv ) plot(GSE2034.survfit,lty=1:2) legend(135,1,c("ER+","ER-"),lty=1:2,cex=0.5)