Description Usage Arguments Value Examples
View source: R/p05_merged_profile_matrix_cluster.R
This function join the multiple profile matrix and performs the k-means clustering on the merged profile matrix
1 2 3 4 5 6 7 8 9 10 11 12 | merged_profile_matrix_cluster(
name,
exptInfo,
genes,
clusterStorePath,
matrixBins = c(200, 200, 100, 10),
source = "deeptools",
k,
kmIter = 200,
kmStarts = 200,
...
)
|
name |
name of the newly mearged profile matrix |
exptInfo |
experiment info as data frame with information like sampleID, type, path etc |
genes |
A vector of gene IDs which are to be plotted |
clusterStorePath |
Path for storing/accessing the cluster information file. |
matrixBins |
A numeric vector with four elements |
source |
Method by which profile matrix was generated. One of "deeptools", "miao" or "normalizedmatrix". |
k |
number of cluster centers |
kmIter |
iter.max argument of stats::kmeans() function. Default: 200 |
kmStarts |
nstart argument of stats::kmeans() function. Default: 200 |
... |
other arguments for stats::kmeans() function |
A list with two elements:
profileKm: kmeans clustering object returned by function profile_matrix_kmeans()
mat: a merged profile matrix as dataframe
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.