drawDimPlot: Draw Dim Plot

View source: R/drawDimPlot.R

drawDimPlotR Documentation

Draw Dim Plot

Description

Function that generates dim plots for a given Seurat dataset

Usage

drawDimPlot(
  seuratObject,
  datasetName,
  mapType = "umap",
  splitValue = NULL,
  heightValue = 10,
  widthValue = 10,
  colorVector = NULL,
  cells2highlight = NULL,
  sizeHighlightedCells = NULL,
  groupbyValue = NULL,
  labelValue = F,
  showLegend = FALSE,
  resultsFolder = resultsDirectory,
  plotMinimal = FALSE
)

Arguments

seuratObject

seurat data object

datasetName

name of dataset to use on the saved objects

mapType

set umap as default

splitValue

if the umap is to be splitted

heightValue

height of the final plot (default 6 cm)

widthValue

width of the final plot (default 6 cm)

colorVector
cells2highlight

highlight specific cells

sizeHighlightedCells

change size of highlighted cells

groupbyValue

metadava variable to visualize in the dim plot

labelValue

show or hide cluster labels (default FALSE)

showLegend

show or hide plot legend (default FALSE)

resultsFolder

directory where to save the results

plotMinimal

show a minimal plot


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