Learn R Programming

cofeatureR (version 1.1.1)

add_tiles: Add tiles to the ggplot2

Description

Add tiles to the ggplot2

Usage

add_tiles(p1, in.df, tile.col, missing.fill.col, tile.border.size)

Arguments

p1

Existing ggplot2

in.df

A 3 column (feature, sampleID, type) data.frame object

tile.col

Border color of each cell. If not set, no border color is used.

missing.fill.col

Color of the cell that has missing values

tile.border.size

Integer to indicate the size of the tile borders.