Description Usage Arguments Value
The function saves a t-SNE plot colored by expression of a given gene. Warning: filename with t-SNE results is hardcoded, so please don't rename the output file.
1 2 3 4 5 |
geneName |
name of the gene you want to plot. |
experimentName |
name of the experiment which appears in filenames (supposed to be the same for one experiment during the workflow). |
dataDirectory |
output directory for CONCLUS (supposed to be the same for one experiment during the workflow). |
graphsDirectory |
name of the subdirectory where to put graphs. Default is "dataDirectory/pictures". |
sceObject |
a SingleCellExperiment object with your experiment. |
tSNEpicture |
number of the picture you want to use for plotting. Please check "dataDirectory/tsnes" or "dataDirectory/pictures/tSNE_pictures/clusters" to get the number, it is usually from 1 to 14. |
commentName |
comment you want to specify in the filename. |
palette |
color palette for the legend. |
returnPlot |
boolean, should the function return a ggplot object or not. |
savePlot |
boolean, should the function export the plot to pdf or not. |
alpha |
opacity of the points of the plot. |
limits |
range of the gene expression shown in the legend. This option allows generating t-SNE plots with equal color scale to compare the expression of different genes. By default, limits are the range of expression of a selected gene. |
pointSize |
size of the point. |
width |
plot width. |
height |
plot height. |
... |
other parameters of the pdf() function. |
A ggplot object of the plot if needed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.