plot_correlate {granulator}R Documentation

Plot of correlations between deconvolution methods

Description

plot_correlate is used to visualize the results obtained by correlation_analysis.

Usage

plot_correlate(correlated, method = "heatmap", legend = TRUE)

Arguments

correlated

output object from correlate

method

plot type ("heatmap" or "boxplot")

legend

boolean to display color legend

Details

plot_correlate plots the correlation of cell type proportions across methods in form of a heatmap or a violin plot. If methods agree, cell type proportions of the same cell type should by strongly correlated. For cell types with weak correlation across methods, corresploding estimated cell type proportions should be interpreted with caution.

Value

Returns a heatmap or violin plot showing the correlation distribution of by different methods/signature matrices for each cell type

Author(s)

Vincent Kuettel, Sabina Pfister

Examples

# load demo PBMCS data
load_ABIS()

# deconvolute
decon <- deconvolute(m = bulkRNAseq_ABIS, 
sigMatrix = sigMatrix_ABIS_S0)

# correlate
correl <- correlate(deconvoluted = decon)

# plot correlate
plot_correlate(correlated = correl, 
method="heatmap")


[Package granulator version 1.0.0 Index]