I have downloaded GSE16146 dataset from GEO using GEOquery R package.

I would like to extract "Data table" from downloaded GSE16146.

>GSE16146 <- getGEO("GSE16146")

This returns the following error:

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

Can anyone help?

  • $\begingroup$ Have you tried the function getGSEDataTables to access GSE Data Tables from GEO, as reported in this tutorial? Also, what version of R/GEOquery are you using? $\endgroup$
    – aechchiki
    Commented Aug 30, 2017 at 7:48
  • $\begingroup$ GEOquery version 2.42.0, R version 3.4.0 > getGSEDataTables(gset) Error in as.character.default(<S4 object of class "GSE">) : no method for coercing this S4 class to a vector $\endgroup$
    – panbar
    Commented Aug 30, 2017 at 8:51
  • $\begingroup$ The error is telling you that you can't calculate a Table for a list. Also you might have tried to use table instead of Table. $\endgroup$
    – llrs
    Commented Aug 30, 2017 at 18:26

1 Answer 1


According to the manual, all you need to do is:

gseGSE16146 <- getGEO('GSE16146', GSEMatrix=FALSE)

As explanation, getGEO() outputs by default to GSEMatrix=TRUE and returns a list of ExpressionSet objects. You should get what you were looking for with:


The manual has also a paragraph about this:

The GSE has a metadata section, just like the other classes. However, it doesn’t have a GEODataTable. Instead, it contains two lists, accessible using GPLList and GSMList, that are each lists of GPL and GSM objects.

I tested the code I posted on R 3.3.2 and I get access to the Data Table just fine.


Answering how to extract the actual expression data (not what asked in the original question):

data = getGEO("GSE16146") 
datExpr = exprs (data[[1]])
  • $\begingroup$ Thanks. It works. Would you suggest how can I extract all the expression matrix for 80 samples (list) from the gseGSE16146? $\endgroup$
    – panbar
    Commented Aug 30, 2017 at 9:59
  • $\begingroup$ Hi thanks for your answer! What I didn't get is how do I access the actual expression data? $\endgroup$
    – Tapper
    Commented Oct 26, 2018 at 18:20
  • 1
    $\begingroup$ @Tapper I updated my answer above with how to extract the expression data from the experiment. hope it helps? $\endgroup$
    – aechchiki
    Commented Oct 27, 2018 at 10:29
  • $\begingroup$ @aechchiki Thank you! The snippet does not contain the data but a list in my case though: GSM4446615 GSM4446616 GSM4446617 GSM4446618. The file getGEO() got was anyway to small to contain the dataset imho. I finally got the data by downloading the big data file myself and processing it with: gse = read.table("GSE123456.txt", sep = "\t"); data=CreateSeuratObject(raw.data = gse, ..) -- What do you think? $\endgroup$
    – Tapper
    Commented Oct 29, 2018 at 19:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.