Learn R Programming

NBBttest (version 1.0.1)

NBBplot: 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)

Value

output NBBplot figure for given gene.

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.

See Also

plotDEXSeq

Examples

Run this code
# NOT RUN {
data(exondata)

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

# }

Run the code above in your browser using DataLab