plotCompareCW {ccml} | R Documentation |
Plot of original consensus weights vs. normalized consensus weights grouping by the number of co-appeared percent of clustering(non-missing).
Description
Plot of original consensus weights vs. normalized consensus weights grouping by the number of co-appeared percent of clustering(non-missing).
Usage
plotCompareCW(title, label, ncw, plot = NULL)
Arguments
title |
A character value for output directory. |
label |
A matrix or data frame of input labels, columns=different clustering results and rows are samples. |
ncw |
A matrix of normalized consensus weights with sample-by-sample as the order of sample(rows) in |
plot |
character value. NULL(default) - print to screen, 'pdf', 'png', 'pngBMP' for bitmap png, helpful for large datasets, or 'pdf'. |
Value
A ggplot point in PDF format with x-axis: original consensus weights; y-axis: normalized consensus weights; color: percent of co-appeared of clustering; size: number of duplicates sample .
Examples
# load data
data(example_data)
label=example_data
# if plot is not NULL, results will be saved in "result_output" directory
title="result_output"
ncw<-callNCW(title=title,label=label,stability=TRUE)
plotCompareCW(title=title,label=label,ncw=ncw)
[Package ccml version 1.4.0 Index]