Created
April 6, 2018 21:41
-
-
Save oeltoham/6c276c0c81f5e124ca9056d435f9cd42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gset <- getGEO('GSE26253')[[1]] | |
| pset1 <- pData(gset) | |
| gset2 <- getGEO('GSE15460')[[1]] | |
| gset3 <- getGEO('GSE15460')[[2]] | |
| pset2 <- pData(gset2) | |
| pset3 <- pData(gset3) | |
| View(pset1) | |
| pset1_final <- pset1[,c("pathological stage:ch1", "recurrence free survival time (month):ch1", "status (0=non-recurrence, 1=recurrence):ch1")] | |
| View(pset1_final) | |
| write.csv(pset1_final, file = "GSE26253PHENOFinal.csv") | |
| View(pset2) | |
| pset2_final <- pset2[,c("cell line:ch1", "cell type:ch1", "tissue:ch1")] | |
| View(pset2_final) | |
| pset2_final <- subset(pset2_final, pset2_final$`tissue:ch1`!= "NA") | |
| View(pset2_final) | |
| write.csv(pset2_final, file = "GSE15460GPL570PHENOFINAL.csv") | |
| View(pset3) | |
| pset3_final <- pset3[,c("source_name_ch1", "characteristics_ch1", "tissue:ch1")] | |
| View(pset3_final) | |
| write.csv(pset3_final, file = "GSE15460GPL96PHENOFINAL.csv") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment