Save plots from 'custom_feature_plot'.
1 2 3 |
dge |
Seurat object |
results_path |
Where to save files. |
colour |
A gene or type of metadata. Numeric zeroes plotted if '!is.element( colour, AvailableData( dge ) )'. |
fig_name |
Figure gets named <fig_name>.pdf or <fig_name>.png or similar. If you put a name ending in ".png" or ".pdf", the extension is stripped off. |
axes |
Character vector of length 2. Name of numeric variables available from 'FetchData'. |
axes_description |
Character. Used in file paths, so no spaces please. |
alpha |
Numeric of length 1 between 0 and 1. Point transparency. |
height |
Passed to ggsave. |
width |
Passed to ggsave, but when you ask for a legend, it gets stretched a bit to make up for lost horizontal space. |
types |
Atomic character vector; can be longer than 1 element. If contains "PDF", you get a PDF back. If "PDF_no_leg", you get a PDF with no legend. If "PNG_PDF_split", you get back the points and bare axes in a PNG, plus text-containing elements in a PDF with no points. By default, does all three. Matching is not case sensitive. |
... |
Additional arguments passed to 'custom_feature_plot'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.