Study of gene expression of human liver Hepatocellular carcinoma
Expression profiling by array
We have profiles 268 HCC tumor, 243 adjacent non-tumor, 40 cirrhotic and 6 healthy liver samples.
2020年12月22日09:00:20
问题一
没有现成的包,读取gpl页面的soft文件,按列取子集,读取速度太慢,直接去GEO官网下载SOFT文件再用下面代码
#
library(GEOquery)
kl2 = read.table(file = )
kl2 = getGEO(gpl,destdir = ".")
kl1=kl2@dataTable@table
ids = kl1[,c(1:3)]
colnames(ids)
colnames(ids) = c("probe_id","ENTREZID","SYMBOL") #改名方便后面使用
head(ids)
问题二 图片保存大小
ggsave(p2,filename = paste0(gse,"3in1.png"),limitsize = FALSE,
+ width = 16, height = 9)