callNCWCalculate 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
)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").
A numerical value to set the random seed for reproducible results, 1000 random label matrix will be generated based on this seed number.
A matrix or data frame of input labels, columns=different clustering results and rows are samples.
A integer value of number of samples, =nrow(l.label)
A integer value of number of samples, =ncol(l.label)
A integer vector of the number of non missing values for each column in l.label
A list of index with length of l.nc of non missing values for each column in l.label
A n-by-2 index matrix of array indices of upper triangular of l.label with non missing values
A character value for output directory.
character value. NULL(default) - print to screen, 'pdf', 'png', 'pngBMP' for bitmap png, helpful for large datasets, or 'pdf'.