GSE experiment has two platforms, how to find GSM files specific to one platform without using GEOMetadb
2
1
Entering edit mode
9.3 years ago
grokaine ▴ 40

How to list the GSM files specific to one GPL number and to one GSE ID?

I can do this with GEOMetadb but it seems offhand, can't it be done from GEOQuery?

R GEOQuery • 3.6k views
ADD COMMENT
1
Entering edit mode
2.6 years ago
Shicheng Guo ★ 9.5k

Here, I can show you an example with GSE49604 which included two platforms: GPL10558 and GPL8432. Below is the solution:

library("GEOquery")

GSE49604 <- getGEO("GSE49604")
GSE49604

data1 <- as.data.frame(exprs(GSE49604[[1]]))
phen1 <- pData(phenoData(GSE49604[[1]]))

data2 <- as.data.frame(exprs(GSE49604[[2]]))
phen2 <- pData(phenoData(GSE49604[[2]]))

head(data1)
head(data2)
ADD COMMENT
0
Entering edit mode
7.0 years ago

GEOquery takes care of this for you by returning a list of two ExpressionSets (when two platforms are involved). You can interrogate those objects to get the GSMs for each platform using sampleNames, for example.

ADD COMMENT

Login before adding your answer.

Traffic: 1861 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6