Learn R Programming

MetamapsDB (version 0.0.2)

findK: findK to find the optimum number of Ks

Description

using cluster::clusGap

Usage

findK(theMatrix, kmax = 10, ko)

Arguments

theMatrix

two column data.frame with KS values of the before and after KOs in the reactions

kmax

the max number of Ks to test for; defaults to 10

ko

the ko of interest

Value

optimum number of Ks to choose