plot_donor_sig_genes | R Documentation |
Generate a gene by donor heatmap showing scaled expression of top loading genes for a given factor
plot_donor_sig_genes(
container,
factor_select,
top_n_per_ctype,
ctypes_use = NULL,
show_donor_labels = FALSE,
additional_meta = NULL,
add_genes = NULL
)
container |
environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses |
factor_select |
numeric The factor to query |
top_n_per_ctype |
numeric Vector of the number of top genes from each cell type to plot |
ctypes_use |
character The cell types for which to get the top genes to make callouts for. If NULL then uses all cell types. (default=NULL) |
show_donor_labels |
logical Set to TRUE to display donor labels (default=FALSE) |
additional_meta |
character Another meta variable to plot (default=NULL) |
add_genes |
character Additional genes to plot for all ctypes (default=NULL) |
The project container with a heatmap plot in the slot container$plots$donor_sig_genes$<Factor#>. This heatmap shows scaled expression of top loading genes in each cell type for a selected factor.
test_container <- plot_donor_sig_genes(test_container, factor_select=1,
top_n_per_ctype=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.