doiCluster: doiCluster

Description Usage Arguments Value Examples

Description

doiCluster

Usage

1
2
3
4
5
6
doiCluster(
  data,
  K = 2,
  lambda = c(0.03, 0.03, 0.03, 0.03),
  type = rep("gaussian", length(data))
)

Arguments

data

List of matrices.

K

Number of clusters

lambda

Vector of lasso penalty terms.

type

Data type, which can be gaussian, binomial, poisson, multinomial.

Value

a list of clust the clustering of samples and fit the results of the method iCluster

Examples

1
2
3
4
5
6
set.seed(333)
c_1 <- simulateY(J=100, prop=0.1, noise=1)
c_2 <- simulateY(J=200, prop=0.1, noise=1)
c_3 <- simulateY(J=50, prop=0.1,  noise=0.5)
data <- list(c_1$data , c_2$data , c_3$data)
res <- doiCluster(data,K=4)

CNRGH/crimmix documentation built on Dec. 11, 2019, 5:27 a.m.