Description Usage Arguments Value
View source: R/plot_legend_cell_type.R
Plots and saves a legend mapping cell types and colors
1 | plot_legend_celltype(pal.GT, fig.folder)
|
pal.GT |
a palette as a named vector with names being cell types and values being corresponding colors |
fig.folder |
folder for figures, usually has a format './plots/project_name' |
void, saves a legend plot to file.path(fig.folder, "Legend_cell_type.pdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.