CreateMultiModalMuSigOutput: Prepare input file for MultiModalMuSig from a MultiModalMuSig...

View source: R/MultiModalMuSigInteraction.R

CreateMultiModalMuSigOutputR Documentation

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

Description

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

Usage

CreateMultiModalMuSigOutput(
  catalog,
  out.dir = paste0(dirname(catalog), "/ExtrAttr/MultiModalMuSig.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 MultiModalMuSig.results folder directly under the folder storing catalog.

overwrite

If TRUE, overwrite existing output

Details

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

Value

invisible(catMatrix), original catalog in MultiModalMuSig format


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