plotHeatmap: Plot heatmaps

Description Usage Arguments Value See Also Examples

View source: R/functions.R

Description

Plot heatmaps of the top "n" miRNAs or mRNAs from selected miRNA-mRNA pairs

Usage

1
2
3
plotHeatmap(obj, class, n = 50, col.color = 1, min.exp = NULL, main = NULL,
   pval.cutoff = NULL, grouping.col = NULL, grouping.row = NULL, 
  order = "pval", cex.lab = 0.75)

Arguments

obj

a corObject

class

"miRNA", "mRNA" or "both". When "both", the heatmap is a mixture of miRNAs and mRNAs.

n

number of items to plot.

col.color

character vector, column name or number which contains that will be used to label the samples.

min.exp

(optional) minimum mean expression of the items to be plotted

main

(optional) title of the plot

pval.cutoff

(optional) maximum adjusted pvalue

grouping.col

(optional) factor or character vector indicating predefined groups

grouping.row

(optional) factor or character vector indicating predefined groups

order

criteria used to select the "top" miRNAs or mRNAs. "pval" or "adj.pval" (default), or "logratio" or "FC". Only for class="miRNA" or "mRNA"

cex.lab

cex of the label axis. Default is 0.75

Value

A plot with the heatmap of the selected miRNAs or mRNAs.

See Also

plotCorrelation

Examples

1
2
data(data.obj)
plotHeatmap(data.obj, "miRNA", n=100)

mariavica/mircomb documentation built on Feb. 3, 2020, 2:28 a.m.