NBBplot: Plot differential expression of exons within a specified gene...

View source: R/NBBplot.R

NBBplotR Documentation

Plot differential expression of exons within a specified gene using result outputed by NBBttest.

Description

After performing NBBttest, NBBplot can be used to show differential expression of exons within a specified gene in na and nb replicates between conditions A and B.

Usage

NBBplot(res, gene, nci, na, nb, C1, C2)

Arguments

res

object of NBBttest containing information of genes including gene name,strand, chromosome,exons, introns, data, and t-value, p-value, significance/selection etc.

gene

gene name or symbol specified by user.

nci

number of columns for gene information.

na

replicate number in condition A

nb

replicate number in condition B

C1

name for condition 1(A)

C2

name for condition 2(B)

Details

NBBplot consists of two parts: top is expression value of each exon in each replicate in two conditions marked in red and blue and bottom is boxes for exon and solid lines for introns. Differential expression of an exon is marked in red.

Value

output NBBplot figure for given gene.

Author(s)

Yuan-De Tan tanyuande@gmail.com

See Also

plotDEXSeq

Examples

data(exondata)

NBBplot(res=exondata, gene="H2-DMb1", nci=9, na=3, nb=3, C1="WT", C2="KO")


NBBttest documentation built on May 30, 2022, 1:05 a.m.