plotMat: generic function to plot the non-zero elements of a sparse...

View source: R/Allfuncs.R

plotMatR Documentation

generic function to plot the non-zero elements of a sparse matrix

Description

generic function to plot the non-zero elements of a sparse matrix

Usage

plotMat(
  matrix,
  scale = T,
  trim.names = 50,
  cutoff = NULL,
  col.scale = NULL,
  ...
)

Arguments

matrix

the input matrix

scale

rescale the columns to max=1

trim.names

the maximum length of row and column lables

cutoff

Sets values (both positive and negative) bellow this number to 0

col.scale

custom color scale

...

additional argumend to be passed to pheatmap


wgmao/PLIER documentation built on May 11, 2022, 10:34 p.m.