For a set of chip ids or rs ids, returns a two column matrix containing the A and B allele.
For snpStats objects the default is that A,B are coded in alphabetical order, so A,C; A,T;
C,T; C,G are possible A,B pairs. Allele codes are specific to each dataset, so you should
upload your allele codes into the current ChipInfo object to make the alleles produced by
this function meaningful.
Usage
AB(ids)
Arguments
ids
character, a list of chip ids or rs-ids as contained in the current ChipInfo object
Value
Returns a two column matrix containing the A and B allele.