cluster | R Documentation |
This function clusters groups of markers that are in high linkage disequilibrium on a single side of the central gene position considered. The objective of the clustering step is to reduce the number of markers considered and thus allow for a simplification of haplotype definition problem.
cluster(snp_data, center_pos, block_threshold = 1)
snp_data |
A list: the snp data to be clustered. Must contain at least
|
center_pos |
The central position on either side of which clustering should be performed. |
block_threshold |
The minimum R^2 for two adjacent markers to be eligible for blocking (defaults to 1, i.e. perfect linkage disequilibrium). |
This function is used internally by the package and is not normally available for end users.
A subset of the original snp_data
containing only one
representative marker per LD block.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.