
Fold-change scatterplot between two comparisons
get_foldchange_scatter.RdPlots log2 fold changes from two stored comparisons against each other, with
points coloured by concordant/discordant regulation based on the cutoffs
saved in the VISTA object.
Usage
get_foldchange_scatter(
x,
sample_comparisons,
label_top_n = 0,
point_alpha = 0.5,
use_hex = FALSE,
method = c("pearson", "spearman")
)Arguments
- x
A
VISTAobject containing DE results.- sample_comparisons
Character vector of length 2 naming the comparisons.
- label_top_n
Integer; number of most extreme points to label (by |log2FC1| + |log2FC2|).
- point_alpha
Point transparency.
- use_hex
Logical; use hex binning instead of points for dense datasets.
- method
Correlation method for the subtitle;
"pearson"or"spearman".