Read Gene Expression Omnibus (GEO) SOFT format data
GEOSOFTData
= geosoftread(File
)
GEOSOFTData
= geosoftread(File
,'TimeOut',TimeOutValue
)
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. |
GEOSOFTData | MATLAB structure containing information from a GEO SOFT format file. |
reads
a Gene Expression Omnibus (GEO) SOFT format Sample file (GSM), Data
Set file (GDS), or Platform (GPL) file, and then creates a MATLAB structure, GEOSOFTData
= geosoftread(File
)GEOSOFTData
,
with the following fields.
Fields | Description |
---|---|
Scope | Type of file read (SAMPLE, DATASET, or PLATFORM) |
Accession | Accession number for record in GEO database. |
Header | Microarray experiment information. |
ColumnDescriptions | Cell array containing descriptions of columns in the data. |
ColumnNames | Cell array containing names of columns in the data. |
Data | Array containing microarray data. |
Identifier (GDS files only) | Cell array containing probe IDs. |
IDRef (GDS files only) | Cell array containing indices to probes. |
Note
Currently, the geosoftread
function supports
Sample (GSM), Data Set (GDS), and Platform (GPL) records.
sets the connection timeout (in seconds) to read data from a remote file or URL.GEOSOFTData
= geosoftread(File
,'TimeOut',TimeOutValue
)
Retrieve GSM data from the GEO Web site and save it to a file.
geodata = getgeodata('GSM3258','ToFile','GSM3258.txt');
Use geosoftread
to read a local copy of the
GSM file, instead of accessing it from the GEO Web site.
geodata = geosoftread('GSM3258.txt') geodata = Scope: 'SAMPLE' Accession: 'GSM3258' Header: [1x1 struct] ColumnDescriptions: {6x1 cell} ColumnNames: {6x1 cell} Data: {5355x6 cell}
Read the GDS file for photosynthesis in proteobacteria.
gdsdata = geosoftread('GDS329.soft') gdsdata = Scope: 'DATASET' Accession: 'GDS329' Header: [1x1 struct] ColumnDescriptions: {6x1 cell} ColumnNames: {6x1 cell} IDRef: {5355x1 cell} Identifier: {5355x1 cell} Data: [5355x6 double]
galread
| geoseriesread
| getgeodata
| gprread
| ilmnbsread
| sptread