CompPlot: CompPlot:

Description Usage Arguments Value Examples

View source: R/simple_plot_functions.R

Description

Plots two genes from a gene activity dataset

Usage

1
CompPlot(gene1, gene2, dataset, save = FALSE, points = TRUE)

Arguments

gene1

The name of the first gene to be plotted. Must be a string.

gene2

The name of the second gene to be plotted. Must be a string.

dataset

A transcriptomics dataset. First columns should be gene names. All other columns should be expression levels.

save

Logical. If TRUE, saves plots to working directory. Defaults to FALSE.

points

Logical. If FALSE then each observation will not be plotted as points.

Value

Returns or saves a ggplot2 object.

Examples

1
CompPlot('comp100000_c0_seq3', 'comp100002_c0_seq2', Laurasmappings)

nathansam/CircadianTools documentation built on Dec. 26, 2019, 11:30 a.m.