Plots gene-gene expression and computes their correaltion
supercell_GeneGenePlot(
ge,
gene_x,
gene_y,
supercell_size = NULL,
clusters = NULL,
color.use = NULL,
idents = NULL,
pt.size = 1,
alpha = 0.9,
x.max = NULL,
y.max = NULL,
same.x.lims = FALSE,
same.y.lims = FALSE,
ncol = NULL,
combine = TRUE,
sort.by.corr = TRUE
)
a list with components
p - is a combined ggplot or list of ggplots if combine = TRUE
w.cor - weighted correlation between genes
a list, where
a gene expression matrix of super-cells (ncol same as number of super-cells)
gene or vector of genes (if vector, has to be the same lenght as gene_y)
gene or vector of genes (if vector, has to be the same lenght as gene_x)
a vector with supercell size (ordered the same way as in ge
)
a vector with clustering information (ordered the same way as in ge
)
colors for idents
idents (clusters) to plot (default all)
point size (if supercells have identical sizes)
transparency
max of x axis
max of y axis
same x axis for all plots
same y axis for all plots
number of colums in combined plot
combine plots into a single patchworked ggplot object. If FALSE, return a list of ggplot
whether to sort plots by absolute value of correlation (fist plot genes with largest (anti-)correlation)