Description Usage Arguments Value
View source: R/runRecombClust.R
This function takes as input phased chromosomes and returns the responsibilities PCA and the cluster classification of the samples.
1 | runRecombClust(haplos, annot, clusters = 2, PCs = 3, ...)
|
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 |
filename |
File with genotypic data (SNPs and samples) the data file type must be .vcf (Variant Call Format), .gds (Genomic Data Structure) or .bed (Browser Extensible Data). |
start |
start position to be treated |
end |
end position to be treated |
A list with four elements:
class: Cluster classification of the chromosomes
pc: Responsibilities PCA
mat: Responsibilities matrix
models: List of models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.