CreateEMuOutput: Prepare input file for EMu from a EMu formatted catalog file.

View source: R/EMuinteraction.R

CreateEMuOutputR Documentation

Prepare input file for EMu from a EMu formatted catalog file.

Description

Prepare input file for EMu from a EMu formatted catalog file.

Usage

CreateEMuOutput(
  catalog,
  out.dir = paste0(dirname(catalog), "/ExtrAttr/EMu.results"),
  overwrite = FALSE
)

Arguments

catalog

a catalog in ICAMS format. It can be a .csv file, or a matrix or data.frame. Usually, it refers to "ground.truth.syn.catalog.csv".

out.dir

Directory that will be created for the output; abort if it already exists. Usually, the out.dir will be a EMu.results folder directly under the folder storing catalog.

overwrite

If TRUE, overwrite existing output

Details

Creates folder named EMu.results containing catalogs in EMu-formatted catalogs: Rows are signatures; the first column is the name of the mutation type, while the remaining columns are samples (tumors). These EMu-formatted catalogs will the input when running EMu program later on compiled binary.

Value

invisible(catalog), original catalog in EMu format


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