plot_abundance {imsig} | R Documentation |
Plot relative abundance of immune cells
Description
Barplots of relative abundance of immune cells across samples.The order of the samples are the same as that of imsig
.
Usage
plot_abundance(exp, r = 0.6)
Arguments
exp |
Dataframe of transcriptomic data (natural scale) containing genes as rows and samples as columns. Note: Gene names should be set as row names and duplicates are not allowed. Missing values are not allowed within the expression matrix. Check example- head(example_data): |
r |
Use a value between 0 and 1. Default is 0.6. This is a user defined correlation cut-off to perform feature selection ( |
Value
ggplot
See Also
Examples
plot_abundance (exp = example_data, r = 0.7)