PlotDEValues.SJ.10x {MARVEL} | R Documentation |
Plot differential splice junction analysis results
Description
Volcano plot of results from differential splice junction analysis. x-axis represents the average normalised gene expression across the two cell groups. y-axis represents the differences or log2 fold change between the two cell groups.
Usage
PlotDEValues.SJ.10x(
MarvelObject,
pval = 0.05,
log2fc = NULL,
delta = 5,
min.gene.norm = 0,
anno = FALSE,
anno.coord.intron = NULL,
label.size = 2
)
Arguments
MarvelObject |
Marvel object. S3 object generated from |
pval |
Numeric value. p-value, below which, the splice junction is considered differentially spliced. To be used in conjunction with |
log2fc |
Numeric value. Absolute log2 fold change, above which, the splice junction is considered differentially spliced. This option should be |
delta |
Numeric value. Absolute differences in average PSI values between the two cell groups, above which, the splice junction is considered differentially spliced. This option should be |
min.gene.norm |
Numeric value. The average normalised gene expression across the two cell groups above which the splice junction is considered differentially spliced. Default is |
anno |
Logical value. If set to |
anno.coord.intron |
Vector of character strings. If |
label.size |
Numeric value. If |
Value
An object of class S3 with a new slots MarvelObject$DE$SJ$VolcanoPlot$SJ$Plot
and MarvelObject$DE$SJ$VolcanoPlot$SJ$Data
.
Examples
marvel.demo.10x <- readRDS(system.file("extdata/data",
"marvel.demo.10x.rds",
package="MARVEL")
)
marvel.demo.10x <- PlotDEValues.SJ.10x(
MarvelObject=marvel.demo.10x,
pval=0.05,
delta=5,
min.gene.norm=1.0,
anno=FALSE
)
# Check outputs
marvel.demo.10x$DE$SJ$VolcanoPlot$SJ$Plot
head(marvel.demo.10x$DE$SJ$VolcanoPlot$SJ$Data)