plot_component: Plotting the gene weights of a single component

Description Usage Arguments Value

Description

ggplot function for plotting a single component

Usage

1
plot_component(s, plot.title, peaks = FALSE, peakresult = NULL)

Arguments

s

A single component

plot.title

Character title of the plot

peaks

TRUE shows peaks in red, FALSE leaves everything black

peakresult

Pre-calculated peak positions, if not supplied peaks will be defined as values lying out of 2 standard deviations.

Value

ggplot object


jinhyunju/icreport documentation built on May 19, 2019, 10:35 a.m.