Skip to content

Commit

Permalink
Removing rows containing missing values per default
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasKook committed Nov 19, 2018
1 parent 42346c1 commit 4ec1d1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/simpleheatmap3.R
Expand Up @@ -47,8 +47,9 @@ simpleheatmap3 <- function(pln,
nrOfClustersCol = 3,
nrOfClustersRow = 3, ...)
{
pln <- na.omit(as.matrix(pln))
if(plot) {
tmp <- heatmap3::heatmap3( as.matrix(pln) , scale=scale , col=palette ,
tmp <- heatmap3::heatmap3( pln , scale=scale , col=palette ,
labRow=labRow,
labCol = labCol,
cexRow=0.1 + 1/log10(dim(pln)[1]),
Expand Down

0 comments on commit 4ec1d1f

Please sign in to comment.