getLayout(gal, guessdups=FALSE)
getLayout2(galfile)
getDupSpacing(ID)TRUE then try to determine number and spacing of duplicate spots, i.e., within-array replicatesprintlayout object, which is a list with the following components.
The last two components are present only if guessdups=TRUE.
getLayout determines the print layout from a data frame created from a GAL file or gene list.
The data.frame must contain columns Block, Column and Row.
(The number of tip columns is assumed to be either one or four.)On some arrays, each probe may be duplicated a number of times (ndups) at regular intervals (spacing) in the GAL file.
getDupSpacing determines valid values for ndups and spacing from a vector of IDs.
If guessdups=TRUE, then getLayout calls getDupSpacing.
The function getLayout2 attempts to determine the print layout from the header information of an actual GAL file.
# gal <- readGAL()
# layout <- getLayout(gal)
Run the code above in your browser using DataLab