Read a GAL file
Read a GenePix Array List (GAL) file into a dataframe.
readGAL(galfile=NULL,path=NULL,header=TRUE,sep="\t",quote="\"",skip=NULL,as.is=TRUE,...)
galfile |
character string giving the name of the GAL file. If |
path |
character string giving the directory containing the files. If |
header |
logical variable, if |
sep |
the field separator character |
quote |
the set of quoting characters |
skip |
number of lines of the GAL file to skip before reading data. If |
as.is |
logical variable, if |
... |
any other arguments are passed to |
A GAL file is a list of genes IDs and associated information produced by an Axon microarray scanner.
Apart from header information, the file must contain data columns labeled Block, Column, Row and ID.
A Name column is usually included as well.
Other columns are optional.
See the Axon URL below for a detaile description of the GAL file format.
This function reads in the data columns with a minimum of user information. In most cases the function can be used without specifying any of the arguments.
A data frame with columns
Block |
numeric vector containing the print tip indices |
Column |
numeric vector containing the spot columns |
Row |
numeric vector containing the spot rows |
ID |
character vector, for factor if |
Name |
character vector, for factor if |
The data frame will be sorted so that Column is the fastest moving index, then Row, then Block.
Gordon Smyth
read.Galfile in the marray package.
An overview of LIMMA functions for reading data is given in 03.ReadingData.
# readGAL() # will read in the first GAL file (with suffix ".gal") # found in the current working directory
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.