Learn R Programming

SCENIC (version 1.1.2-01)

plotTsne_compareSettings: 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

Run this code
# NOT RUN {
fileNames <- paste0("int/", grep("tSNE_", list.files("int"), value=T))
par(mfrow=c(2,2))
plotTsne_compareSettings(fileNames, scenicOptions, varName="CellType")
# }

Run the code above in your browser using DataLab