visualizeGenes: Visualize gene

Description Usage Arguments Value Examples

View source: R/visualizeGenes.R

Description

Produces a visualization summarizing the normalized read count in each sample group and expression difference across the expressed exons.Top panel contains the log2 fold-change for each expressed exon. Asterisk denotes the significance level (*: < 0.05, **: < 0.01). Bottom panel shows the averaged normalized read count for each sample group. The title of the figure shows the gene name and the adjusted gene-level p-value (fdr)

Usage

1
visualizeGenes(gene, ebsea.out)

Arguments

gene

Gene name matching the input data.

ebsea.out

Plots the mean count and fold-change the exons of the specified gene.

Value

Plots the mean count and fold-change across the exons of the specified gene.

Examples

1
2
3
4
5
6
data(exonCounts)
group <- data.frame('group' = as.factor(c('G1', 'G1', 'G1', 'G2', 'G2', 'G2', 'G2')))
row.names(group) <- colnames(exonCounts)
design <- ~group
ebsea.out <- EBSEA(exonCounts, group, design)
visualizeGenes('FBgn0000017', ebsea.out)

EBSEA documentation built on Nov. 8, 2020, 7:50 p.m.