doRGCCA: doRGCCA

Description Usage Arguments Value Examples

Description

doRGCCA

Usage

1
2
3
4
5
6
7
8
doRGCCA(
  data,
  K,
  C = 1 - diag(length(data)),
  ncomp = rep(1, length(data)),
  scheme = "centroid",
  tau = rep(1, length(data))
)

Arguments

data

List of matrices.

K

Nmber of clusters

C

A design matrix that describes the relationships between blocks (default: complete design).

ncomp

A 1 * J vector that contains the numbers of c omponents for each block (default: rep(1, length(data), which gives one component per block.)

scheme

The value is "horst", "factorial", "centroid" or any diffentiable convex scheme function g designed by the user (default: "centroid").

Value

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

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 <- doRGCCA(data,K=4)

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