View source: R/ontology_xlsx.R
write_subset_ontologies | R Documentation |
Given a set of ontology results, this attempts to write them to an excel workbook in a consistent and relatively easy-to-read fashion.
write_subset_ontologies(
kept_ontology,
outfile = "excel/subset_go",
dated = TRUE,
n = NULL,
overwritefile = TRUE,
add_plots = TRUE,
...
)
kept_ontology |
A result from subset_ontology_search() |
outfile |
Workbook to which to write. |
dated |
Append the year-month-day-hour to the workbook. |
n |
How many ontology categories to write for each search |
overwritefile |
Overwrite an existing workbook? |
add_plots |
Add the various p-value plots to the end of each sheet? |
... |
some extra parameters |
a set of excel sheet/coordinates
[openxlsx]
## Not run:
all_contrasts <- all_pairwise(expt, model_batch = TRUE)
keepers <- list(bob = ('numerator','denominator'))
kept <- combine_de_tables(all_contrasts, keepers = keepers)
changed <- extract_significant_genes(kept)
kept_ontologies <- subset_ontology_search(changed, lengths = gene_lengths,
goids = goids, gff = gff, gff_type='gene')
go_writer <- write_subset_ontologies(kept_ontologies)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.