saveHTML: Save figure as html

View source: R/utility_functions.R

saveHTMLR Documentation

Save figure as html

Description

Save figure as html

Usage

saveHTML(file.name, plot.handle, fig.width = 5, fig.height = 5, save.flag = T)

Arguments

file.name

path/filename of output html A character.

plot.handle

plot handle that will be saved as html E.g., GGplot handle.

fig.width

Numeric for plot width. Default is 5.

fig.height

Numeric for plot height Default is 5.

save.flag

Logical to save figure. Default is TRUE.

Author(s)

Nicholas Mikolajewicz

Examples


# save module figure
saveHTML(file.name = "M01_QC_violin.pdf", plot.handle = plt.QC_violin, fig.width = 5, fig.height = 5, save.flag = save.pdf)


NMikolajewicz/scMiko documentation built on June 28, 2023, 1:41 p.m.