Shows the legends for single-cell metadata based on the shinycell config data.table. This allows user to visualise the different metadata to be plotted and make any modifications if necessary. Note that the display name is shown here instead of the actual name. For more information regarding display name, see ?mod_meta_name.

show_legend(scConf, fontSize = 14)

Arguments

scConf

shinycell config data.table

fontSize

font size of legends. Decrease it if you have too many items to display

Value

gtable plot showing the legends for different metadata

Author

John F. Ouyang

Roy Francis

Examples

if (FALSE) {
showLegend(scConf)
}