k_means: Order the entries in each matrix according to the order...

Description Usage Arguments Value

View source: R/k_means.R

Description

Clusters data of selected matrix in the list in k clusters. Order the entries of all matrices according to the ordered reference matrix. Called by "plot_hm"-function.

Usage

1
k_means(mat = NULL, refmat = NULL, k = NULL)

Arguments

mat

A list with matrices and additional information about the selected region. mat generated by "get_matrix"-function. Default value is NULL.

refmat

Integer which specifies the reference matrix to which all matrices will be ordered according to kmeans clustering of ference matrix. Default value is NULL.

k

Integer which specifies the number of clusters which should be build by "kmeans"-function. Default value is NULL.

Value

list with ordered matrix entries, splitted matrices according to the clusters with column Means for profile plotting and additional information about the clusters and the region entered in "get_matrix"-function. Will be used of "plot_hm"-function


ClaudiaRHD/chipAnalyser documentation built on June 18, 2020, 8:31 p.m.