plotAverageGeneCount: plotAverageGeneCount

Description Usage Arguments Value Examples

View source: R/ascend_plots.R

Description

Generates a histogram of average counts for each gene.

Usage

1
plotAverageGeneCount(object, metric = c("average", "log2", "log10"))

Arguments

object

An EMSet.

metric

Scale to plot data by - average (DEFAULT), log2 or log10.

Value

A ggplot2 glob containing the histogram.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Load EMSet
EMSet <- ascend::raw_set

# Plot average gene count
average_genes <- plotAverageGeneCount(EMSet, metric = "average")

# Plot log2 average gene count
average_gene_2 <- plotAverageGeneCount(EMSet, metric = "log2")

# Plot log10 average gene count
average_gene_10 <- plotAverageGeneCount(EMSet, metric = "log10")

IMB-Computational-Genomics-Lab/ascend documentation built on Aug. 29, 2019, 4:10 a.m.