geoseriesread
Read Gene Expression Omnibus (GEO) Series (GSE) format data
Syntax
GEOData
= geoseriesread(File
)
GEOData
= geoseriesread(File
,'TimeOut',TimeOutValue
)
Input Arguments
File | Either of the following:
Tip You can use the |
TimeOutValue | Connection timeout in seconds, specified as a positive scalar. The default value is 5. For details, see here. |
Output Arguments
GEOData | MATLAB structure containing the following fields:
|
Description
reads
a Gene Expression Omnibus (GEO) Series (GSE) format file, and then
creates a MATLAB structure, GEOData
= geoseriesread(File
)GEOData
,
with the following fields.
Fields | Description |
---|---|
Header | Header text from the GEO Series (GSE) format file, typically containing a description of the data or experiment information. |
Data | DataMatrix object containing the data from a GEO Series (GSE) format file. The columns and rows of the DataMatrix object correspond to the sample IDs and Ref IDs, respectively, from the GEO Series (GSE) format file. |
sets the connection timeout (in seconds) to read data from a remote file or URL.GEOData
= geoseriesread(File
,'TimeOut',TimeOutValue
)
Examples
Retrieve Series (GSE) data from the GEO Web site and save it to a file.
geodata = getgeodata('GSE11287','ToFile','GSE11287.txt');
In a subsequent MATLAB session, you can access the Series (GSE) data from your local file, instead of retrieving it from the GEO Web site.
geodata = geoseriesread('GSE11287.txt') geodata = Header: [1x1 struct] Data: [45101x6 bioma.data.DataMatrix]
Access the sample IDs using the
colnames
property of a DataMatrix object.sampleIDs = geodata.Data.colnames sampleIDs = 'GSM284935' 'GSM284936' 'GSM284937' 'GSM284938' 'GSM284939' 'GSM284940'
Version History
Introduced in R2008b
See Also
affyread
| agferead
| galread
| geosoftread
| getgeodata
| gprread
| ilmnbsread
| sptread