plot_feature_heatmap: Plot heatmap of features across cells with annotations

Description Usage Arguments Examples

View source: R/plot_feature_heatmap.R

Description

Plot heatmap of features across cells with annotations

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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,
  ...
)

Arguments

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'

Examples

1

keshav-motwani/scanalysis documentation built on Feb. 4, 2021, 2:21 a.m.