plot_correlate {granulator} | R Documentation |
plot_correlate
is used to visualize the results
obtained by correlation_analysis
.
plot_correlate(correlated, method = "heatmap", legend = TRUE)
correlated |
output object from |
method |
plot type ("heatmap" or "boxplot") |
legend |
boolean to display color legend |
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.
Returns a heatmap or violin plot showing the correlation distribution of by different methods/signature matrices for each cell type
Vincent Kuettel, Sabina Pfister
# 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")