Skip to contents

Save GO plot(s) in .pdf files.

Usage

save_go_plots(
  x,
  output_dir = ".",
  output_file_suffix = "go_plot",
  height = 10,
  width = 10
)

Arguments

x

x an object of class 'parcutils_go_results' which can be generated using the function get_go_emap_plot()

output_dir

a character string, default "./", denoting a path to output file.

output_file_suffix

a character string, default "go_plot", denoting a suffix for go plot pdf files. If default used, the name of output file will be <name_of_DE_comparison>_<up/down>_go_plot.pdf. For e.g. for up regulated genes from the comparison treatment_VS_control the file name will be

height

plot height in inch, default 10.

width

plot width in inch, default 10. treatment_VS_control_up_go_plot.pdf

Value

It saves file into a dir.