Description Usage Arguments Value See Also Examples
View source: R/plot_abundance.R
Barplots of relative abundance of immune cells across samples.The order of the samples are the same as that of imsig
.
1 | plot_abundance(exp, r = 0.6)
|
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 ( |
ggplot
1 | plot_abundance (exp = example_data, r = 0.7)
|
Warning messages:
1: Use of `cell$samples` is discouraged. Use `samples` instead.
2: Use of `cell$samples` is discouraged. Use `samples` instead.
3: Use of `cell$samples` is discouraged. Use `samples` instead.
4: Use of `cell$samples` is discouraged. Use `samples` instead.
5: Use of `cell$samples` is discouraged. Use `samples` instead.
6: Use of `cell$samples` is discouraged. Use `samples` instead.
7: Use of `cell$samples` is discouraged. Use `samples` instead.
8: Use of `cell$samples` is discouraged. Use `samples` instead.
9: Use of `cell$samples` is discouraged. Use `samples` instead.
10: Use of `cell$samples` is discouraged. Use `samples` instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.