getInfoInAffyFile: get information from Affymetrix data files

Description Usage Arguments Details Value Note See Also

Description

Get specific information stored in Affymetrix data files (CEL or CDF).

Usage

1
getInfoInFile(filename, type, unit, property, compress = NULL)

Arguments

filename

a file name

type

"CEL" or "CDF" are the only known types.

unit

the 'unit' to find the information

property

the 'property' of interest

compress

a boolean

Details

The data files seem to have a structure of 'units'. A 'unit' start with something between square brackets (ex: "[UNIT1]"). The parameter unit let one specify in which unit the information of interest is located. The 'properties' are constituted of an identifier, the sign '=' and the value for the property (ex: "numCells=12000").

If you are planning to use this function, I assume you know the what is in CEL and CDF files in details and that you know what are doing.

Value

a character with the value of the 'property'.

Note

The code goes through the file until the rigth 'unit' is found. Then it looks for the right 'property' further down (eventually going through the next units if the property is not found).

See Also

read.celfile, read.cdffile, whatcdf


makecdfenv documentation built on Nov. 8, 2020, 8:03 p.m.