R/ConsensusMatPlot.R

Defines functions ConsensusMatPlot

Documented in ConsensusMatPlot

# Pattern in consensus matrix
ConsensusMatPlot <- function(fit,rowLab=TRUE,colLab=TRUE){
     if(rowLab==TRUE) row.name <- NULL  else row.name <- NA
     if(colLab==TRUE) col.name <- NULL  else col.name <- NA
     aheatmap(fit$consensus[names(sort(fit$clusters)),names(sort(fit$clusters))],color="Greys",Rowv=NA, Colv=NA,labRow=row.name,labCol=col.name)
}

Try the IntNMF package in your browser

Any scripts or data that you put into this service are public.

IntNMF documentation built on May 1, 2019, 6:35 p.m.