write_cp_data: Make a pretty table of clusterprofiler data in excel.

View source: R/ontology_xlsx.R

write_cp_dataR Documentation

Make a pretty table of clusterprofiler data in excel.

Description

It is my intention to make a function like this for each ontology tool in my repetoire

Usage

write_cp_data(
  cp_result,
  excel = "excel/clusterprofiler.xlsx",
  add_trees = TRUE,
  order_by = "qvalue",
  pval = 0.1,
  add_plots = TRUE,
  height = 15,
  width = 10,
  decreasing = FALSE,
  primary_key = 1,
  ...
)

Arguments

cp_result

A set of results from simple_clusterprofiler().

excel

An excel file to which to write some pretty results.

add_trees

Include topgoish ontology trees?

order_by

What column to order the data by?

pval

Choose a cutoff for reporting by p-value.

add_plots

Include some pvalue plots in the excel output?

height

Height of included plots.

width

and their width.

decreasing

which direction?

primary_key

Use this annotation column to keep track of annotation IDs.

...

Extra arguments are passed to arglist.

Value

The result from openxlsx in a prettyified xlsx file.

See Also

[openxlsx]


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.