drawHeatmapPlot: Draw Heatmap Plot

View source: R/drawHeatmapPlot.R

drawHeatmapPlotR Documentation

Draw Heatmap Plot

Description

Function that generates heamap plots for given features

Usage

drawHeatmapPlot(
  seuratObject,
  featureNames,
  labelValue = TRUE,
  widthValue = 28,
  heightValue = 15,
  plotName,
  assaytype = "SCT",
  groupValue = "orig.ident",
  slotValue = "scale.data",
  drawLinesValue = TRUE,
  cellsValue = NULL,
  groupColorValues = NULL,
  showLegend = FALSE
)

Arguments

seuratObject

seurat data object

featureNames

list of features to plot

labelValue

show or not the labels above the groups (default TRUE)

widthValue

width of the final plot (default 28 cm)

heightValue

height of the final plot (default 15 cm)

plotName

name of the plot

assaytype

TEST

groupValue

TEST

slotValue

TEST

drawLinesValue

whether to show the lines separating the groups (default = TRUE)

cellsValue

TEST

groupColorValues

list of colors for the groups (default = NULL)

showLegend

show or hide plot legend (default FALSE)

datasetName

name of the dataset (e.g., Pestana2022)

Examples

drawHeatmapPlot(seuratObject = myseuratobject,featureNames =  c("Snap25","Slc17a7","Tbr1"),plotName = "neurons")


fpestana-git/visualisR documentation built on May 2, 2022, 11:58 a.m.