Description Usage Arguments Value Examples
Plots signature weights for each sample gridded by single annotation
1 2 3 4 5 6 7 8 9 10 11 12 |
result |
S4 Result Object |
annotation |
Annotation to use for facet_wrap |
proportional |
Whether weights are normalized to sum to 1 or not |
label_samples |
Whether to display sample names or not |
sort_samples |
Defaults to numerical, may be total 'counts', or a specific signatures name (e.g. 'Signature1) |
by_group |
Plot subplots by annotation or by signature |
num_samples |
Number of sorted samples to plot |
no_legend |
Remove legend from the plot |
thresh_zero |
Max level to zero out for better plotting when sorting by multiple signatures |
plotly |
add plotly layer for plot interaction |
Generates plot no return
1 2 3 | result <- readRDS(system.file("testdata", "res_annot.rds",
package = "BAGEL"))
plot_exposures_by_annotation(result, "Tumor_Subtypes")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.