plot_legend_celltype: Plots and saves a legend mapping cell types and colors

Description Usage Arguments Value

View source: R/plot_legend_cell_type.R

Description

Plots and saves a legend mapping cell types and colors

Usage

1
plot_legend_celltype(pal.GT, fig.folder)

Arguments

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'

Value

void, saves a legend plot to file.path(fig.folder, "Legend_cell_type.pdf")


mariiabilous/SuperCellBM documentation built on Jan. 28, 2022, 7:45 p.m.