Learn R Programming

metaCluster (version 0.1.1)

opt.clust.num: 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)

Value

WSS plot

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

Author

Dipro Sinha <diprosinha@gmail.com>,Sayanti Guha Majumdar, Anu Sharma, Dwijesh Chandra Mishra

Examples

Run this code
library(metaCluster)
data(metafeatures)
wss_plot <- opt.clust.num(metafeatures[1:200,], nc=10, seed = 1234)

Run the code above in your browser using DataLab