View source: R/plotTsne_compareSettings.R
plotTsne_compareSettings | R Documentation |
Plots several t-SNEs coloured by cell properties (to compare different t-SNE settings)
plotTsne_compareSettings(fileNames, scenicOptions, varName = NULL, ...)
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 |
... |
Other arguments to pass to |
Plots
fileNames <- paste0("int/", grep("tSNE_", list.files("int"), value=T))
par(mfrow=c(2,2))
plotTsne_compareSettings(fileNames, scenicOptions, varName="CellType")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.