AnnotGPL=T
使用GPLXXX.annot.gz文件AnnotGPL=F
使用GPLXXX.soft文件gpl_1 <- getGEO("GPL16699",AnnotGPL=T,destdir = "data")
getGPL =F
只下载表达矩阵GSEMatrix =TRUE
不从soft文件解析表达矩阵gset_1_1 <- getGEO("GSE165004", GSEMatrix =TRUE, getGPL =F,destdir = "data")
getGEOSuppFiles("GSE165004",baseDir = "data")
gset_expr <- exprs(gset[[1]])
gpl_1 <- getGEO("GPL16699",AnnotGPL=T,destdir = "data")
gpl_1 <- Table(gpl_1)
gset_1_pd <- pData(gset_1) %>%
dplyr::select(sample_id=geo_accession,sample_name=title,tissue_type=source_name_ch1)%>%
mutate(group= case_when(tissue_type == "Endometrial_Tissue_Fertile_Control" ~"control",
tissue_type=="Endometrial_Tissue_Fertile_RPL"~"RPL",
tissue_type=="Endometrial_Tissue_Fertile_UIF"~"UIF"))
https://www.helixlife.cn/courses/class/12c03f65-2bab-42d6-9931-47e53853f4b1/learns/1766