convert svg to png or other format
convertSVG(svg, file = "chromosome", device = NULL, width = 8.2677,
height = 11.6929, dpi = 300)svg2pdf(svg, file = "chromosome", width = 8.2677, height = 11.6929,
dpi = 300)
svg2png(svg, file = "chromosome", width = 8.2677, height = 11.6929,
dpi = 300)
svg2tiff(svg, file = "chromosome", width = 8.2677, height = 11.6929,
dpi = 300)
svg2jpg(svg, file = "chromosome", width = 8.2677, height = 11.6929,
dpi = 300)
svg file
output file name
target format
output width
output height
output dpi
invisible grob object