drawVlnPlot: Draw Violin Plot

View source: R/drawVlnPlot.R

drawVlnPlotR Documentation

Draw Violin Plot

Description

Function that generates violin plots for N number of indicated features

Usage

drawVlnPlot(
  dataset,
  feature = featureList,
  plotName = featureGroup,
  orderIdentity = orderIdentity,
  identity = identityValue,
  splitby = NULL,
  datasetName,
  pointSize = 0.1,
  colorVector = NULL,
  heightValue = 6,
  widthValue = 12,
  nrowValue = 2,
  ncolValue = 1,
  fontsizeValueX = 15,
  fontsizeValueY = 15,
  addXlabel = T,
  resultsFolder = resultsDirectory
)

Arguments

dataset

seurat data object

feature

list of features to be plotted

splitby

if violins are to be splitted between an indicated metadata variable

pointSize

define the size of the dots in the plot. 0 indicates no points should be shown

colorVector

vector of colors to manual color each violin

heightValue

height of the final plot (default 6 cm)

widthValue

width of the final plot (default 6 cm)

nrowValue

number of rows in the final panel

ncolValue

number of columns in the final panel

addXlabel

if x axis ticks should be labeled

fontsizeValue

size of text in y axis


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