ggplot2_dotplot: Title

Description Usage Arguments Value Examples

View source: R/ggplot2_dotplot.R

Description

Title

Usage

1
ggplot2_dotplot(data, genes, expGroups, samples, title)

Arguments

data

(compulsory) matrix: each column is a sample. Row names should be gene names.

genes

(compulsory) vector of gene names that you want to create dot plots for. They should be found in data's row names.

expGroups

(optional) vector containing the name of the experimental expGroups (same order as in the columns of data). no default

samples

(optional) vector containing the sample names. Default: column names of data.

title

(optional) main title of the plot and the name of the file. Default: time stamp.

Value

a PDF file

Examples

1
2
dat <- matrix(rnorm(6), ncol=2, dimnames=list(c("A", "B", "C"), 1:2))
ggplot2_dotplot(dat, genes=c("A", "C"), samples=c("sample1", "sample2"))

sarahbonnin/ggplot2Functions documentation built on Nov. 5, 2019, 6:14 a.m.