plot_regress {granulator}R Documentation

Plot estimated cell type coefficients against the ground truth

Description

plot_regress depicts the measured cell type proportions (x-axis) vs. the estimated proportions (y-axis).

Usage

plot_regress(benchmarked, method = "svr", signature = "sig1")

Arguments

benchmarked

List: output object from function benchmarked.

method

Character string with name of method to be regressed.

signature

Character string with name of signature to be regressed.

Value

Plot showing regression of estimated versus measured cell type coefficients.

Author(s)

Vincent Kuettel, Sabina Pfister

Examples

# load demo PBMCS data
load_ABIS()

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

# bechmark
bench <- benchmark(deconvoluted = decon, 
ground_truth = groundTruth_ABIS)

# plot regress
plot_regress(benchmarked = bench, 
method = 'svr', signature = 'sig1')


[Package granulator version 1.0.0 Index]