drawFeaturePlot: Draw Feature Plot

View source: R/drawFeaturePlot.R

drawFeaturePlotR Documentation

Draw Feature Plot

Description

Function that generates feature plots for given features

Usage

drawFeaturePlot(
  seuratObject,
  featureValues,
  datasetName,
  reductionValue = "umap",
  widthValue = 7,
  heightValue = 7,
  pointSizeValue = 0.3,
  nrowValue = 1,
  ncolValue = 1
)

Arguments

seuratObject

seurat data object

featureValues

name of the features

datasetName

name of dataset to use on the saved objects

reductionValue

which dimensionality reduction method to use (default umap)

widthValue

width of the final plot (default 7 cm)

heightValue

height of the final plot (default 7 cm)

pointSizeValue

size of the points (default 0.3)

nrowValue

number of rows (default 1 for only one feature)

ncolValue

number of colums (default 1 for only one feature)

Examples

drawFeaturePlot(seuratObject = seuratLOG,feature = c("S100A9","NKG7","LDHB","CD79A"),nrowValue = 2,ncolValue = 2,datasetName = "test")

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