
Plot pairwise correlations between samples
get_pairwise_corr_plot.RdUses GGally::ggpairs on normalized expression to display correlations among samples from selected groups/genes.
Arguments
- x
A
VISTAobject.- sample_group
Optional character vector of groups (from the column specified by
group_column) used to subset samples.- group_column
Optional column name in
sample_infodefining the grouping used for filtering.- genes
Optional character vector of gene IDs to include; defaults to all genes.