autoplot.table: autoplot.table

Description Usage Arguments Value Methods (by generic) Examples

View source: R/utils.R

Description

Heatmap with ggplot from table objects

Usage

1
2
3
4
5
## S3 method for class 'table'
autoplot(object, min_color = NULL, show_number = FALSE, ...)

## S3 method for class 'matrix'
autoplot(object, ...)

Arguments

object

a table object

min_color

minimum value to show colored, value sunder this will be shown as gray

show_number

logical indicating wether the number should be printed in the box of the heatmap

...

additional arguments passed to downstream methods

Value

ggpplot object

Methods (by generic)

Examples

1
autoplot(table(1:10, 1:10), show_number = TRUE)

jspaezp/sctree documentation built on April 30, 2020, 10:36 p.m.