plotVMFeatures: plotVMFeatures

Description Usage Arguments Examples

View source: R/visualizeMappedData.R

Description

Plot omics data into the virtual template.

Usage

1
plotVMFeatures(VM, omics_mat, features, thr = 0)

Arguments

VM

Virtual map data frame, after running mapCells()

omics_mat

Matrix containing features as rows (e.g. genes, regions) and real cells as columns.

features

Vector with the names of features to be plotted on the virtual template. Features will be assigned to the corresponding RGB channel depending on the order.

thr

Threshold (between 0 and 1) to color cells with low feature value in grey. Default: 0.

Examples

1
PlotVMFeatures(VM, dgem, features=c('ato', 'hth', 'Optix'))

aertslab/ScoMAP documentation built on Oct. 8, 2021, 1:15 a.m.