plot_treemap: Treemap plot of read counts per gene with an additional...

Description Usage Arguments Value See Also

View source: R/treemaps.R

Description

This function tries really hard to make sure that the ordering of class groups in the plot corresponds to the ordering of the factor levels. The treemap is plotted using treemap.

Usage

1
plot_treemap(data, exp, rep, sample, geneclass, title = "", palette = "Set2")

Arguments

data

A serp_data object.

exp

Experiment name.

rep

Replicate name. If missing or NULL, read counts will be averaged over all replicates.

sample

Sample type.

geneclass

Data frame with columns gene and class. class must be an ordered factor.

title

Plot title.

palette

RColorBrewer palette to color-code the class variable

Value

An invisible list from treemap

See Also

treemap


ilia-kats/RiboSeqTools documentation built on Oct. 5, 2020, 7:41 p.m.