Description Usage Arguments Details Value References Examples
SMILE
allows the detection of a subpopulation under selection in a genomic region.
1 |
x |
A nxp |
plot |
A boolean flag indicating whether an graphical output of the clustering should be displayed or not. |
SMILE
is an implementation of the statistical procedure proposed in Emily et al. (2016). The SMILE method selects the smallest subset of conditional profiles that coalesce at the final step of a single-linkage hierarchical clustering constructed with the d2s dissimilarity.
A list containing the following components:
selected |
A |
hc |
An object of class |
d2s |
An object of class |
Emily, M., Hitte, C. and Mom, A. SMILE: a novel Dissimilarity-based Procedure for Detecting Sparse-Specific Profiles in Sparse Contingency Tables. Computational Statistics and Data Analysis, Vol. 99, pages 171-188, 2016.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Example of a matrix of haplotype counts for dog breeds
data(GenomicRegion)
## Computation of the SMILE procedure with a graphical output
res <- SMILE(GenomicRegion)
## Identification of the individuals selected with SMILE
res$selected
## Drawing of the hierarchical clustering tree
plot(res$hc)
## Printing of the dissimilarity matrix
res$d2s
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.