<p>Use <code>GSEMatrix=FALSE</code>, the information you want appears to be in the soft file, rather than the matrix. Yes, this is moderately annoying since it means you need two objects to describe this particular dataset.</p>

CC BY-SA 4.0
2019-02-21T08:32:45.117Z
2019-02-21T08:32:45.117Z
Devon Ryan
<p>I want to extract the expression matrix from the GSE object in GEOquery.</p>

<pre><code>library(GEOquery)


gse1 &lt;- getGEO("GSE97168",GSEMatrix=TRUE)
datExpr = exprs (gse1[[1]])
datExpr

GSM2553017 GSM2553018 GSM2553019 GSM2553020 GSM2553021 GSM2553022 GSM2553023 GSM2553024 GSM2553025
     GSM2553026


Table(GSMList(gse1)[[1]])[1:5,]

Table(GSMList(gse1)[[1]])[1:5,]
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘GSMList’ for signature ‘"list"’

Table(GPLList(gse1)[[1]])[1:5,]
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘GPLList’ for signature ‘"list"’

Meta(gse1)$description
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘Meta’ for signature ‘"list"’

Columns(gse1)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘Columns’ for signature ‘"list"’
</code></pre>

<p>Why it's not working with R version 3.5.1?</p>

CC BY-SA 4.0
2019-02-20T16:18:12.950Z
Welcome to the site. Are you sure this should be working? In the [vignette](http://bioconductor.org/packages/release/bioc/vignettes/GEOquery/inst/doc/GEOquery.html) Table is only used to "Look at data associated with the GSM" not to retrieve the data expression data or information about a specific GSM
llrs
<single-cell><geoquery><gse><geo>
GEOquery errors due to list input
# GEOquery errors due to list input

(Asked by: username_0 on 2019-02-20)

I want to extract the expression matrix from the GSE object in GEOquery.
library(GEOquery)


gse1 <- getGEO("GSE97168",GSEMatrix=TRUE)
datExpr = exprs (gse1[[1]])
datExpr

GSM2553017 GSM2553018 GSM2553019 GSM2553020 GSM2553021 GSM2553022 GSM2553023 GSM2553024 GSM2553025
     GSM2553026


Table(GSMList(gse1)[[1]])[1:5,]

Table(GSMList(gse1)[[1]])[1:5,]
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘GSMList’ for signature ‘"list"’

Table(GPLList(gse1)[[1]])[1:5,]
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘GPLList’ for signature ‘"list"’

Meta(gse1)$description
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘Meta’ for signature ‘"list"’

Columns(gse1)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘Columns’ for signature ‘"list"’

Why it's not working with R version 3.5.1?

**Tags:** single-cell, geoquery, gse, geo
> **Comments:**
> **username_1**: Welcome to the site. Are you sure this should be working? In the [vignette](http://bioconductor.org/packages/release/bioc/vignettes/GEOquery/inst/doc/GEOquery.html) Table is only used to "Look at data associated with the GSM" not to retrieve the data expression data or information about a specific GSM  

---

## 1 answers

### Answer by username_2 on 2019-02-21. Score: 1

Use `GSEMatrix=FALSE`, the information you want appears to be in the soft file, rather than the matrix. Yes, this is moderately annoying since it means you need two objects to describe this particular dataset.


---

