Description Usage Format Source Examples
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.
1 |
A data frame with 286 observations on the following 7 variables.
PID
a numeric vector
GEO.asscession.number
The unique identifier for each subject on GEO
lymph.node.status
a factor with levels negative
months.to.relapse.or.last.followup
a numeric vector
relapse
a logical vector
ER.Status
a factor with levels ER-
and ER+
Brain.relapses
a logical vector
http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE2034
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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)
|
Loading required package: nutshell.bbdb
Loading required package: nutshell.audioscrobbler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.