setSCTKDisplayRow: Indicates which rowData to use for visualization

View source: R/ggPlotting.R

setSCTKDisplayRowR Documentation

Indicates which rowData to use for visualization

Description

This function is to be used to specify which

Usage

setSCTKDisplayRow(inSCE, featureDisplayRow)

Arguments

inSCE

Input SingleCellExperiment object with saved dimension reduction components or a variable with saved results. Required.

featureDisplayRow

Indicates which column name of rowData to be used for plots.

Value

A SingleCellExperiment object with the specific column name of rowData to be used for plotting stored in metadata.

Examples

data(scExample, package="singleCellTK")
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
sce <- setSCTKDisplayRow(inSCE = sce, featureDisplayRow = "feature_name")
plotSCEViolinAssayData(inSCE = sce, feature = "ENSG00000019582")

compbiomed/singleCellTK documentation built on Feb. 10, 2024, 3:32 a.m.