plot_proportions {granulator}R Documentation

Plot estimated cell type proportions

Description

plot_proportions plots the estimated cell type proportions as computed by a given method and signature matrix.

Usage

plot_proportions(deconvoluted, method = "svr", signature = "sig1")

Arguments

deconvoluted

Output object from function deconvolute.

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)

# plot cell type proportions
plot_proportions(deconvoluted = decon, 
method = 'svr', signature = 'sig1')


[Package granulator version 1.2.0 Index]