marker_heatmaps_wrapper: Make a heatmap of global or contrast markers.

View source: R/markers.R

marker_heatmaps_wrapperR Documentation

Make a heatmap of global or contrast markers.

Description

Make a heatmap of global or contrast markers.

Usage

marker_heatmaps_wrapper(
  seu,
  params,
  marker_type = c("global", "contrast"),
  save = TRUE,
  return_type = c("file", "tibble")
)

Arguments

seu

A Seurat object.

params

A tibble. See cluster_markers_heatmap_params or contrasts_heatmap_params target for details.

marker_type

A character scalar.

save

A logical scalar. If TRUE, the heatmap will be saved to params$out_file.

return_type

A character scalar. For "file", return params$out_file. For "tibble", return a modified params tibble with appended list columns:

  • heatmaps: contains named lists of heatmap objects (p_heatmap, p_heatmap_z_score)

  • markers_top: dataframe with top markers used for heatmap generation.

Value

See the return_type argument.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.