Compare the two possible methods for the gene ranking used to perform Gene Set Enrichment Analyses (GSEA).
# S3 method for class 'ranking'
compare(
DEprot.analyses.object,
contrast,
color.up = "indianred",
color.down = "steelblue",
regression.line.color = "purple"
)
An object of class DEprot.analyses
.
Number indicating the position of the contrast to use for the plotting.
String indicating any R-supported color that will be used for dots with a positive fold change. Default: "indianred"
.
String indicating any R-supported color that will be used for dots with a negative fold change. Default: "steelblue"
.
String indicating any R-supported color to use for the regression line and error. Default: "purple"
.
Two ggplots combined in an object of class patchwork
.
ranking <- compare.ranking(DEprot::test.toolbox$diff.exp.limma, contrast = 1)
ranking
#> Warning: Removed 20 rows containing missing values or values outside the scale range
#> (`geom_smooth()`).