opt.clust.num {metaCluster} | R Documentation |
Finding Optimum Number of Cluster for Metagenomics Data
Description
This function will give optimum number of clusters based on Within Sum of Squares (wss) plot.
Usage
opt.clust.num(data, nc, seed = 1234)
Arguments
data |
Feature matrix consisting of different genomic features.Each row represents features corresponding to a particular individual or contig and each column represents different genomic features. |
nc |
Probable number of clusters |
seed |
Seed value for iteration |
Value
WSS plot
Author(s)
Dipro Sinha <diprosinha@gmail.com>,Sayanti Guha Majumdar, Anu Sharma, Dwijesh Chandra Mishra
Examples
library(metaCluster)
data(metafeatures)
wss_plot <- opt.clust.num(metafeatures[1:200,], nc=10, seed = 1234)
[Package metaCluster version 0.1.1 Index]