deep.heatmap: Creates an annotated heatmap from DeepTools multiBamSummary...

View source: R/deep.heatmap.R

deep.heatmapR Documentation

Creates an annotated heatmap from DeepTools multiBamSummary tab delimited output.

Description

This function dreated a heatmap from the DeepTools multiBamSummary method, and adds color coded annotation bars to the heatmap to annotation samples. The file is formatted with the following fields: #'chr' 'start' 'end' 'sample1_name.bam' 'sample2_name.bam' ... 'sampleN_name.bam'

Usage

deep.heatmap(deep_file, annot_file, outfile_name = "image.jpg",
  plot_title = "")

Arguments

deep_file

The path and name of the file containing the DeepTools tab delimited results from the multiBamSummary method.

annot_file

The path and file name of the tab delimited text file containing the sample annotations to use for adding colored annotation bars on the heatmap.

Value

A data frame of bin counts from the multiBamSummary output, and a data frame with annotations.

Author(s)

Amy L. Olex alolex@vcu.edu

Examples

data <- deep.heatmap(deep_file="counts.tab", annot_file="annots.txt", image_name="Plot Title")

AmyOlex/RNASeqBits documentation built on Jan. 26, 2024, 7:08 a.m.