PlotDEValues.Exp.Spliced {MARVEL} | R Documentation |
Plot differential gene expression analysis of differentially spliced genes
Description
Volcano plot of differential splicing analysis results based on differentially spliced genes between 2 groups of cells. x-axis represents the log2 fold change in gene expression. y-axis represents the adjusted p-values.
Usage
PlotDEValues.Exp.Spliced(
MarvelObject,
method,
psi.pval = 0.1,
psi.delta = 0,
gene.pval = 0.1,
gene.log2fc = 0.5,
point.size = 1,
anno = FALSE,
anno.gene_short_name = NULL,
label.size = 2.5,
y.upper.offset = 5,
xlabel.size = 8
)
Arguments
MarvelObject |
S3 object generated from |
method |
(Vector of) Character string(s). The |
psi.pval |
Numeric value. The adjusted p-value from differential splicing analysis, below which, the splicing event is considered differentially spliced. Default is |
psi.delta |
Numeric value. The absolute differences in average PSI value between two cell groups from differential splicing analysis, above which, the splicing event is considered differentially spliced. Default is |
gene.pval |
Numeric value. The adjusted p-value from differential gene expression analysis, below which, the gene is considered differentially expressed. Default is |
gene.log2fc |
Numeric value. The absolute log2 fold change in gene expression betwene two cell groups from differential splicing analysis, above which, the gene is considered differentially expressed. Default is |
point.size |
Numeric value. Size of data points. Default is |
anno |
Logical value. If set to |
anno.gene_short_name |
Vector of character strings. When |
label.size |
Numeric value. Only applicable if |
y.upper.offset |
Numeric value. The value in -log10(p-value) to increase the upper limit of the y-axis. To be used when |
xlabel.size |
Numeric value. Font size of the xtick labels. Default is |
Value
An object of class S3 with new slots MarvelObject$DE$Exp.Spliced$Table
, MarvelObject$DE$Exp.Spliced$Summary
, and MarvelObject$DE$Exp.Spliced$Plot
.
Examples
marvel.demo <- readRDS(system.file("extdata/data", "marvel.demo.rds", package="MARVEL"))
marvel.demo <- PlotDEValues.Exp.Spliced(MarvelObject=marvel.demo,
method="ad",
psi.pval=0.1,
psi.delta=0,
gene.pval=0.1,
gene.log2fc=0.5
)
# Check output
marvel.demo$DE$Exp.Spliced$Summary
marvel.demo$DE$Exp.Spliced$Plot