doMixKernel: doMixKernel

Description Usage Arguments Value Examples

View source: R/doMixKernel.R

Description

doMixKernel

Usage

1
doMixKernel(data, K, kernel.func = "linear", ncomp = 2)

Arguments

data

List of matrices.

K

Number of clusters

kernel.func

the kernel function to use. This parameter can be set to any user defined kernel function. Widely used kernel functions are pre-implemented, that can be used by setting kernel.func to one of the following strings: "kidentity", "abundance", "linear" or "phylogenetic". Default: "linear".

ncomp

integer. Indicates the number of components to return.

Value

a list of clust the clustering of samples and fit the results of the method intNMF#' @export

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

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