Description Usage Arguments Details Value Author(s) Examples
Extracts the multiple sequence alignement of each cluster after K-means clustering.
1 | extract.cluster(x, align)
|
x |
an object of class 'kmean', obtained from |
align |
an object of class 'align', obtained from |
Extraction of the MSA of each cluster.
A named list of 'align' objects.
Jean-Michel Becu
1 2 3 4 5 6 | # Clustering human GPCRs in 4 groups with 100 runs of K-means
# and extraction of the alignment of each cluster
aln <- import.fasta(system.file("msa/human_gpcr.fa", package = "bios2mds"))
data(gpcr)
kmeans <- kmeans.run(gpcr$mmds$sapiens.active$coord, nb.clus = 4, nb.run = 100)
clusAlign <- extract.cluster(kmeans,aln)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.