|
a |
|
b/man/build_gbm_se.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/build_gbm_se.R |
|
|
3 |
\name{build_gbm_se} |
|
|
4 |
\alias{build_gbm_se} |
|
|
5 |
\title{use curatedTCGAData and Brennan metadata to build an annotated GBM MAE} |
|
|
6 |
\usage{ |
|
|
7 |
build_gbm_se(cache = BiocFileCache::BiocFileCache()) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{cache}{if not NULL, location of BiocFileCache instance} |
|
|
11 |
} |
|
|
12 |
\description{ |
|
|
13 |
use curatedTCGAData and Brennan metadata to build an annotated GBM MAE |
|
|
14 |
} |
|
|
15 |
\note{ |
|
|
16 |
Will cache the created SummarizedExperiment instance unless told not to. |
|
|
17 |
`rname` is `"brenn_gbm_se"`. |
|
|
18 |
} |
|
|
19 |
\examples{ |
|
|
20 |
gbmse = build_gbm_se() |
|
|
21 |
|
|
|
22 |
# check effect of MGMT methylation on survival |
|
|
23 |
|
|
|
24 |
xm = gbmse[, gbmse$mgmt_status !="" & gbmse$vital_status !=""] |
|
|
25 |
library(survival) |
|
|
26 |
ss = Surv(xm$os_days, 1*(xm$vital_status=="DECEASED")) |
|
|
27 |
plot(survfit(ss~xm$mgmt_status), lty=1:2) |
|
|
28 |
legend(1100, .95, lty=c(1,2), legend=c("MGMT methylated", "unmethylated")) |
|
|
29 |
title("Time-on-study/vital status for 123 GBM patients analyzed in Brennan et al. PMID 24120142") |
|
|
30 |
survdiff(ss~xm$mgmt_status) |
|
|
31 |
} |