DoHubGeneHeatmap: Plots gene expression of hub genes as a heatmap

View source: R/plotting.R

DoHubGeneHeatmapR Documentation

Plots gene expression of hub genes as a heatmap

Description

This function makes an expression heatmap of the top n hub genes per module using Seurat's DoHeatmap, and then assembles them all into one big heatmap.

Usage

DoHubGeneHeatmap(
  seurat_obj,
  n_hubs = 10,
  n_cells = 200,
  group.by = NULL,
  module_names = NULL,
  combine = TRUE,
  draw.lines = TRUE,
  disp.min = -2.5,
  disp.max = 2.5,
  wgcna_name = NULL
)

Arguments

seurat_obj

A Seurat object

wgcna_name

The name of the hdWGCNA experiment in the seurat_obj@misc slot

Examples

DoHubGeneHeatmap

smorabit/scWGCNA documentation built on April 4, 2024, 10:32 a.m.