View source: R/Script_DROPLET_04_DE_3_VolcanoPlot_SJ.R
PlotDEValues.SJ.10x | R Documentation |
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.
PlotDEValues.SJ.10x(
MarvelObject,
pval = 0.05,
log2fc = NULL,
delta = 5,
min.gene.norm = 0,
anno = FALSE,
anno.coord.intron = NULL,
label.size = 2
)
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 |
An object of class S3 with a new slots MarvelObject$DE$SJ$VolcanoPlot$SJ$Plot
and MarvelObject$DE$SJ$VolcanoPlot$SJ$Data
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.