opt.clust.num: Finding Optimum Number of Cluster for Metagenomics Data

View source: R/opt.clust.num.R

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

metaCluster documentation built on June 22, 2024, 10:21 a.m.