Skip to contents

Function to plot aggregated deconvolution results as boxplots for each cell type and method

Usage

results_aggregated_boxplot(result)

Arguments

result

A data frame containing aggregated deconvolution results. Must have columns: 'sample', 'celltype', 'value', and 'method'. This can originate from deconvolute_combined() or any external source, as long as the structure matches.

Details

The input data frame must:

  • Contain columns: 'sample', 'celltype', 'value', and 'method'

  • 'sample': sample identifier (character)

  • 'celltype': cell type name (character)

  • 'value': cell type fraction or proportion (numeric)

  • 'method': deconvolution method name (character)

Example of a valid input:

samplecelltypevaluemethod
Sample1A0.2method1
Sample1B0.5method1
Sample2A0.1method2
Sample2B0.7method2