readOneFile.QuantArrayData: Reads a QuantArray result file

Description Usage Arguments Value Author(s) See Also Examples

Description

Reads a QuantArray result file. Currently QuantArray v2 and v3 are supported. If the version is not recognized it will try to make a best guess and read it in anyway. However, it can not be guaranteed that all fields will be of the correct data type.

This method also reads Unicoded QuantArray files. If the file is Unicoded it is first translated into a temporary ASCII file, which is then read. The translation from Unicode to ASCII is done by "brute force", i.e. by excluding the highbyte and only keeping the lowbytes. This means that some characters will be incorrectly translated. If that happens, a warning will be given, otherwise not.

Usage

1
QuantArrayData$readOneFile(filename, path=NULL, verbose=FALSE, ...)

Arguments

filename

The filename of the file to be read.

path

The path to the file.

verbose

If TRUE, information will printed out during the reading of the file.

Value

Returns a QuantArrayData object.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see QuantArrayData.

Examples

1
2
3
4
5
6
7
8
9
 ## Not run: 
  # At the moment there is no QuantArray sample files in the package...
  # qa <- QuantArrayData$read("quantarray123.txt", path=system.file("data-ex", package="aroma"))
  # ...will use a GenePix sample file instead.
  qa <- GenePixData$read("gpr123.gpr", path=system.file("data-ex", package="aroma"))

  raw <- getRawData(qa)
 
## End(Not run)

HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.