cs {hsphase} | R Documentation |
Chromosome Splitter
Description
This function splits the genotypes list generated by hss
into the different chromosomes based on a map file and orders SNP based on chromosomal position.
Usage
cs(halfsib, mapPath, separator = " ")
Arguments
halfsib |
|
mapPath |
|
separator |
|
Details
The map file should include only the chromosomes that will be analyzed. For example, the Y and X chromosomes should be excluded (and others optionally). Names of each element in the list can be used for further categorization. The header must be "Name Chr Position".
Value
Returns a list of matrices, the number of elements in this list is the number of half-sib families multiplied by the number of chromosomes.
Examples
# Please run demo(hsphase)