Description Usage Arguments Value
This function takes as input phased chromosomes and returns the responsibilities PCA and the cluster classification of the samples.
1 | runLDclassifier(haplos, annot, clusters = 2, PCs = 1, ...)
|
haplos |
Matrix with the haplotypes (SNPs in rows, samples in columns) |
annot |
GenomicRanges with the SNPs annotation |
clusters |
Numeric with the clusters used in k-means |
PCs |
Numeric with the number of PCA components used to make the clustering. |
... |
Further arguments passed to runLDmixtureModel |
A list with two elements:
"class"Cluster classification of the chromosomes
"pc"Responsibilities PCA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.