KPC: implementation of K-Profiles Clustering

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/KPC.R

Description

implementation of K-Profiles Clustering

Usage

1
 KPC(dataset, nCluster, maxIter = 100, p.max = 0.2, p.min = 0.05)

Arguments

dataset

the data matrix with genes in the row and samples in the column

nCluster

the number of clusters K

maxIter

the maximum number of iterations

p.max

the starting p-value cutoff to exclude noise genes

p.min

the final p-value cutoff to exclude noise genes

Value

Return a list about gene cluster and the list of value p

cluster

gene cluster

p.list

a list of value p

Author(s)

Tianwei Yu <tianwei.yu@emory.edu>

References

http://www.hindawi.com/journals/bmri/aa/918954/

See Also

data.gen

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 ## generating the data matrix & hiden clusters as a sample
 input<-data.gen(n.genes=40, n.grps=4)
 ## now input includes data matrix and hiden clusters, so get the matrix as input.
 input<-input$data
 
 ## set nCluster value to 4
 kpc<-KPC(input,nCluster=4)
  
 ##get the hiden cluster result from "KPC"
 cluster<-kpc$cluster
 ##get the list of p
 p<-kpc$p.list

nlnet documentation built on Jan. 13, 2021, 10:35 a.m.

Related to KPC in nlnet...