| makeHeatmap | R Documentation | 
Plot allelic ratio as heatmap
makeHeatmap(
  sce,
  assay = c("ratio_pseudo", "ratio", "counts"),
  genecluster = NULL,
  show_row_names = FALSE,
  order_by_group = TRUE,
  ...
)
sce | 
 SingleCellExperiment  | 
assay | 
 the assay to be plotted. Choices are   | 
genecluster | 
 an integer indicates which gene cluster heatmap want to be returned.  | 
show_row_names | 
 show row names or not  | 
order_by_group | 
 indicate whether order by group or order by cell types  | 
... | 
 Passsed on the other argument in
  | 
generates a heatmap
set.seed(2021) sce <- makeSimulatedData(p.vec = c(0.3, 0.5, 0.5, 0.3), ncl = 1) sce <- preprocess(sce) # display allelic ratio pattern in whole dataset makeHeatmap(sce) sce <- geneCluster(sce, G = seq_len(4), plot = FALSE) sce_sub <- wilcoxExt(sce, genecluster = 1) # display specific gene cluster partition result makeHeatmap(sce_sub) # display by cell type orders makeHeatmap(sce_sub, order_by_group = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.