plotTsne_compareSettings: plotTsne_compareSettings

View source: R/plotTsne_compareSettings.R

plotTsne_compareSettingsR Documentation

plotTsne_compareSettings

Description

Plots several t-SNEs coloured by cell properties (to compare different t-SNE settings)

Usage

plotTsne_compareSettings(fileNames, scenicOptions, varName = NULL, ...)

Arguments

fileNames

t-SNE files to plot

scenicOptions

imports cellInfo and colVars

varName

If a varName is given, it plots all the t-SNEs (not saved to file), colouring only for that variable. If null, it plots all the cellInfo colums for all the t-SNEs (each t-SNE in an individual file). To plot all cellInfo colums, but as individual plots, use TRUE.

...

Other arguments to pass to AUCell::plotTsne_cellProps

Value

Plots

Examples

fileNames <- paste0("int/", grep("tSNE_", list.files("int"), value=T))
par(mfrow=c(2,2))
plotTsne_compareSettings(fileNames, scenicOptions, varName="CellType")

aertslab/SCENIC documentation built on April 7, 2024, 10 a.m.