barcode_treemap: Barcode treemap

Description Usage Arguments Value Examples

View source: R/treemap.R

Description

Makes a treemap of the chosen column in your data frame.

Usage

1
2
barcode_treemap(your_data, column_choice = NULL, threshold = 0,
  colors_choice = c("blue", "yellow"), your_title = "")

Arguments

your_data

A data frame. Usually individual barcodes in rows and samples in columns.

column_choice

Character. The name of the column to make the treemap from.

threshold

Numeric. Threshold for the whole data frame. Anything lower than this becomes 0.

colors_choice

Character vector of size 2 specifying which colors to use for the treemap range.

your_title

Character. Title for the plot.

Value

Displays a treemap (made by treemap) of the chosen column.

Examples

1
barcode_treemap(your_data = zh33, column_choice = "32m_CD4.fastq", colors_choice = c("red", "green"))

truittll/barcodetrackPython documentation built on Nov. 18, 2017, 11:19 p.m.