Filtering the expression values of a gene from GEO
You're looking for the Columns() function:

&gt; Columns(gds3782)
     sample        disease.state           description
1  GSM524151 non-diabetic control  Value for GSM524151: beta-cells_non-diabetic condition_donor1; src: human beta-cells_non-diabetic
2  GSM524152 non-diabetic control  Value for GSM524152: beta-cells_non-diabetic condition_donor2; src: human beta-cells_non-diabetic


Note that it's probably easier to work with a more common structure like and expressionSet:

eset = GDS2eSet(gds3782)


You'd then use the pData() function to return the same thing.