csHeatmap: csHeatmap

Description Usage Arguments Details Value Note Author(s) References Examples

Description

Creates a ggplot plot object with a geom_tile layer of FPKM values per feature and sample.

Usage

1
2
3
4
5
6
## S4 method for signature 'CuffFeatureSet'
csHeatmap(object, rescaling='none', clustering='none', labCol=T, labRow=T, logMode=T, pseudocount=1.0, 
		border=FALSE, heatscale= c(low='lightyellow',mid='orange',high='darkred'), heatMidpoint=NULL, fullnames = T, replicates=FALSE,method='none', ...)
## S4 method for signature 'CuffFeatureSet'
csFoldChangeHeatmap(object, control_condition, replicate_num=NULL, clustering='none', labCol=T, labRow=T, logMode=F, pseudocount=1.0, 
		border=FALSE, heatscale=c(low='steelblue',mid='white',high='tomato'), heatMidpoint=0,fullnames=T,replicates=FALSE,method='none',heatRange=3, ...)

Arguments

object

An object of class 'CuffFeatureSet' or 'CuffGeneSet'

control_condition

A character argument indicating which condition should be used as the denominator for fold change. (e.g. "Day0", "Control", etc)

replicate_num

If replicates == TRUE, you must specify both a control condition and a replicate number to use as the denominator.

rescaling

Rescaling can either be 'row' or 'column' OR you can pass rescale a function that operates on a matrix to do your own rescaling. Default is 'none'.

clustering

Clustering can either be 'row','column','none', or 'both', in which case the appropriate indices are re-ordered based on the pairwise Jensen-Shannon distance of FPKM values.

labCol

A logical argument to display column labels.

labRow

A logical argument to display row labels.

logMode

A logical argument to log10-transform FPKM values prior to plotting.

pseudocount

Value to be added to FPKM for appropriate log transformation and clustering. (Avoids zero-based errors)

border

A logical argument to draw border around plot.

heatscale

A list with min length=2, max length=3 that detail the low,mid,and high colors to build the color scale.

heatMidpoint

Value for midpoint of color scale.

fullnames

A logical value whether to use 'fullnames' (concatenated gene_short_name and gene_id) for rows in heatmap. Default [ TRUE ].

replicates

A logical value whether or not to plot individual replicates or aggregate condition values.

method

Function to be used for clustering. Default is JS-distance. You can pass your own function to this argument as long as the output is an instance of the 'dist' class and is applied to the rows of the input matrix.

heatRange

Numerical argument for upper bound on log fold change to be visualized.

...

Additional arguments to csHeatmap

Details

None

Value

A ggplot2 plot object with a geom_tile layer to display FPKM values by sample (x) and feature (y)

Note

None

Author(s)

Loyal A. Goff and Cole Trapnell

References

None.

Examples

1
2

cummeRbund documentation built on Nov. 8, 2020, 7:53 p.m.