Description Usage Arguments Value Author(s) See Also Examples
View source: R/u12DensityPlot.R
Density plot of fold change of the retention levels of U12- vs U2- type intron,
or exon-exon junction levels of the flanking exons. For the density plot of the
foldchange of intron retention levels the u12DensityPlotIntron()
function or u12DensityPlot()
function with intronExon= "intron"
can be used. For density plot of the foldchange of exon-exon junction levels
use u12DensityPlot()
function with intronExon= "exon"
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | u12DensityPlot(x,
type=c("U12", "U2Up", "U2Dn", "U2UpDn", "U2Rand"),
fcType="edgeR", sampleAnnotation=c(), sampleAnnoCol=c(),
group=c(), intExCol="int_ex", intTypeCol="int_type", intronExon,
strandCol="strand", geneIdCol="collapsed_transcripts",
naUnstrand=FALSE, col=1, lty=1, lwd=1, plotLegend=TRUE,
cexLegend=1, xLegend="topright", yLegend=NULL, legend=c(),
randomSeed=NULL, xlab="", ...)
u12DensityPlotIntron(x,
type= c("U12", "U2Up", "U2Dn", "U2UpDn", "U2Rand"),
fcType= "edgeR", sampleAnnotation=c(), sampleAnnoCol=c(),
group=c(), intExCol="int_ex", intTypeCol="int_type",
strandCol= "strand", geneIdCol= "collapsed_transcripts",
naUnstrand=FALSE, col=1, lty=1, lwd=1, plotLegend=TRUE,
cexLegend=1, xLegend="topright", yLegend=NULL, legend=c(),
randomSeed=NULL, xlab="", ...)
|
x |
Object of type |
type |
A vector that includes the type of introns to plot. Available options are U12
introns "U12", U2 introns at downstream of U12 introns "U2Dn", U2 introns at
upstream of U12 introns "U2Up", U2 introns at upstream or downstream of U12
introns suitable for when the coorduinates in object x are unstranded (their
strand is "*") "U2UpDn", random U2 introns from object x "U2Rand". Settings
"U2Up", "U2Dn" and "U2UpDn" are useful only if the refernce is linearly
ordered. References with exons only resulted by |
fcType |
Available as "fpkm" or "edgeR" (as default) corresponding to either log fold change of fpkm values or degeR normalized log fold change values. |
sampleAnnoCol |
Which colummn of |
sampleAnnotation |
A vector of size 2 which cotains values from |
group |
Vector to manually define the sample groups (or annotations). It is ignored if
|
intExCol |
Column name (or number) that represents whether each row of |
intTypeCol |
Column name (or number) that represents what type of intron each row of
|
intronExon |
Whether plot intron retention (set |
strandCol |
Column name (or number) that represents the strand of each row of assays in
|
geneIdCol |
Column name (or number) that represents the gene ID of each row of assays in
|
naUnstrand |
Replace unstranded results, i.e. introns or exon with "*" strand, with NA (to be excluded). |
col |
A vector with the size of 1 or the same size as the |
lty |
A vector with the size of 1 or the same size as the |
lwd |
A vector with the size of 1 or the same size as the |
plotLegend |
Whether show legend (TRUE by default). |
cexLegend |
Size of the text in legend . |
xLegend, yLegend |
Position of legend in the plot. For more info see |
legend |
The replacement texts to be used in legend. |
randomSeed |
Seed value for random number generator. |
xlab |
The lable of the X axis of the plot; by default it is "". |
... |
Other parameter settings from the |
Returns NULL.
Ali Oghabian
1 2 3 4 5 6 7 8 9 | u12DensityPlotIntron(mdsChr22Obj,
type= c("U12", "U2Up", "U2Dn", "U2UpDn", "U2Rand"),
fcType= "edgeR", sampleAnnoCol="test_ctrl",
sampleAnnotation=c("ctrl","test"), intExCol="int_ex",
intTypeCol="intron_type", strandCol= "strand",
geneIdCol= "collapsed_transcripts_id", naUnstrand=FALSE, col=c(2,3,4,5,6),
lty=c(1,2,3,4,5), lwd=1, plotLegend=TRUE, cexLegend=0.7,
xLegend="topright", yLegend=NULL, legend=c(), randomSeed=10,
ylim=c(0,0.6), xlab=expression("log"[2]*" fold change FPKM"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.