plotExpression: Plot the expression signal of individual genes

Description Usage Arguments Value Author(s) Examples

View source: R/plotExpression.R

Description

This function plots the expression signal of a defined gene and marks the main peak location with a dashed line.

Usage

1
plotExpression(exprmat, gene, series, peakdet)

Arguments

exprmat

A numeric matrix with expression series data with variables as rownames.

gene

A character string (not case-sensitive) defining the gene to be plotted.

series

A numeric vector defining the experimental series (e.g. time-points of sample acquisition).

peakdet

A list returned by the peakDetection function.

Value

This function does not return any value but generates a plot.

Author(s)

David Lauenstein

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Example based on the heat-shock dataset
data(heat)
heat = as.matrix(heat)
# Define series
series <- c(37,40,41,42,43)
# Run the peak detection algorithm
peakdet <- peakDetection(heat, series, type ='rnaseq', actstrength = 1.5,
prominence = 1.3, minexpr = 5000)
# Plot the expression signal of the gene CXCL5
plotExpression(heat, 'CXCL5', series, peakdet)

Biopeak documentation built on Aug. 21, 2019, 5:10 p.m.