wtccc.sample.list {snpMatrix} | R Documentation |
This is a convenience function for constructing the sample list from the header of a WTCCC signal file.
wtccc.sample.list(infile)
infile |
One of the signal files in a set of 23 (it is advisable to use the smaller ones such as number 22, although it shouldn't matter). |
The header of a WTCCC signal file is like this:
AFFYID RSID pos AlleleA AlleleB 12999A2_A 12999A2_B ...
The first 5 fields are discarded. There after, every other token is retained, with the "_A" or "_B" part removed to give the sample list.
See also read.wtccc.signals
for more details.
The value returned is a character vector contain the sample names or the plate-well names as appropriate.
Hin-Tak Leung htl10@users.sourceforge.net