plotTernary: Plot proportional exon expression

Description Usage Arguments Examples

View source: R/plotTernary.R

Description

Plot proportional exon expression

Usage

1
plotTernary(x, gene, group, geneCol = 1, transCol = 2, transcripts, ...)

Arguments

x

expression dataset. Can be of class 'DEXSeqDataSet', 'SummarizedExperiment' or 'RangedSummarizedExperiment'. A 'matrix' or 'data.frame' is also accepted.

gene

name of the gene to plot.

group

a 'factor' representing the condition of each individual. Required if 'data' is a 'matrix' or 'data.fame', ignored otherwise.

geneCol

'character' or 'numeric' vector specifying the columns of 'x' with that contain the gene names. Required if 'x' is a 'matrix' or 'data.fame', ignored otherwise.

transCol

'character' or 'numeric' vector specifying the columns of 'x' with that contain the transcript names. Required if 'x' is a 'matrix' or 'data.fame', ignored otherwise.

transcripts

'numeric' vector of length 3 with the indices of the transcripts to ploth.

Examples

1
2
3
4
5
data(adipose)
plotTernary(adipose.chr16, "ENSG00000003249.13", transcripts = c(2, 4, 7))

data(YRI)
plotTernary(YRI, "ENSG00000160741")

isglobal-brge/rasp documentation built on July 12, 2020, 1:17 a.m.