SignatureAnalyzerSummarizeTopLevel: Summarize all subdirectories of SignatureAnalyzer results on...

View source: R/SummarizeResultsSA.R

SignatureAnalyzerSummarizeTopLevelR Documentation

Summarize all subdirectories of SignatureAnalyzer results on a major dataset.

Description

This function depends on a particular directory structure: see argument top.level.dir. This function finds the best of multiple SignatureAnalyzer extraction runs and summarizes the comparison of the best run with the ground truth.

Usage

SignatureAnalyzerSummarizeTopLevel(
  top.level.dir,
  summarize.exp = TRUE,
  overwrite = FALSE
)

Arguments

top.level.dir

Path to top level directory, which must contain the following subdirectories:

  • sa.sa.96/sa.results/

  • sp.sp/sa.results/

  • sa.sa.COMPOSITE/sa.results/

  • sp.sa.COMPOSITE/sa.results/

Each of the directories must contain additional subdirectories, one for each SignatureAnalyzer run, names sa.run.<n>, where <n> is an integer (string of digits).

summarize.exp

Whether to summarize exposures when the <run.dir>/<which.run>/sa.output.exp.csv exists.

overwrite

If TRUE overwrite and files in existing run.dir/summary folder.


WuyangFF95/SynSigEval documentation built on Sept. 18, 2022, 11:41 a.m.