View source: R/randConsensusMatrix.R
randConsensusMatrix | R Documentation |
callNCW
Calculate consensus weight matrix based on the permuted input label matrix. Internal function used by callNCW
randConsensusMatrix(
l.seed,
l.label = label,
l.ns = ns,
l.nc = nc,
l.nv = nv,
l.index = index,
l.pair.ind = pair.ind,
l.ppath = ppath,
l.plot = plot
)
l.seed |
A numerical value to set the random seed for reproducible results, 1000 random label matrix will be generated based on this seed number. |
l.label |
A matrix or data frame of input labels, columns=different clustering results and rows are samples. |
l.ns |
A integer value of number of samples, = |
l.nc |
A integer value of number of samples, = |
l.nv |
A integer vector of the number of non missing values for each column in |
l.index |
A list of index with length of |
l.pair.ind |
A n-by-2 index matrix of array indices of upper triangular of |
l.ppath |
A character value for output directory. |
l.plot |
character value. NULL(default) - print to screen, 'pdf', 'png', 'pngBMP' for bitmap png, helpful for large datasets, or 'pdf'. |
A character of finished seed.
Write a binary file of 1000 random consensus weight matrix(as a vector n-by-1, n= nrow(l.pair.ind
)) with the seed l.seed
, output file name: paste0("s",l.seed
,"rcw").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.