R/plot_feature_heatmap.R
plot_feature_heatmap.RdPlot heatmap of features across cells with annotations
plot_feature_heatmap( sce_list, features, cell_annotations, feature_annotations, split_cells, split_features, assay = "logcounts", alt_exp = NULL, subsample_cells = FALSE, show_cell_dend = FALSE, show_feature_dend = TRUE, ... )
| sce_list | list of SingleCellExperiment objects |
|---|---|
| features | features to use |
| cell_annotations | columns in colData to annotate on heatmap |
| feature_annotations | data frame of annotations related to each feature in `features` |
| split_cells | columns in colData to split columns (cells) by |
| split_features | data frame of groups to split rows (features) by |
| assay | assay in SingleCellExperiment to pull data from |
| alt_exp | altExp in SingleCellExperiment to pull data from |
| subsample_cells | whether to subsample cells to smallest group (if split_cells specified) |
| show_cell_dend | whether to show dendrogram for cells |
| show_feature_dend | whether to show dendrogram for features |
| ... | params passed to `ggexp::plot_heatmap` |
NULL#> NULL