Learn R Programming

chopsticks (version 1.36.0)

wtccc.sample.list: read the sample list from the header of the WTCCC signal file format

Description

This is a convenience function for constructing the sample list from the header of a WTCCC signal file.

Usage

wtccc.sample.list(infile)

Arguments

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).

Value

The value returned is a character vector contain the sample names or the plate-well names as appropriate.

Details

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.

References

http://www.wtccc.org.uk

See Also

read.wtccc.signals