sigbertklinke / plot.matrix

Visualizes a matrix object plainly as heatmap. It provides a single S3 function plot for matrices.
8 stars 3 forks source link

New arguments related to NA values #3

Closed fdchevalier closed 4 years ago

fdchevalier commented 4 years ago

Dear Sigbert,

I have been working on adding new arguments to the plot.matrix function regarding NA cells. I needed to plot a triangular matrix without printing the NA values (see the panel B of this figure). Basically, I added two new arguments:

I tested the edited function with number, character and logical matrices.

I hope this is of interest. Feel free to modify it if needed.

Fred