View source: R/other_catalog_formats.R
ConvertCatalogToSigProfilerFormat | R Documentation |
Specially, the row orders in ICAMS internal format
(see ICAMS::catalog.row.order
)
are converted to headers in SigProfiler format.
ConvertCatalogToSigProfilerFormat(input.catalog, file, sep = "\t")
input.catalog |
Either a character string, in which case this is the
path to a file containing a catalog in |
file |
The path of the file to be written. |
sep |
Separator to use in the output file. |
For SigProfiler formats, please see the links below for:
SBS: https://osf.io/s93d5/wiki/5.%20Output%20-%20SBS/
DBS: https://osf.io/s93d5/wiki/5.%20Output%20-%20DBS/
ID: https://osf.io/s93d5/wiki/5.%20Output%20-%20ID/
This function can only transform SBS96, SBS192, SBS1536, DBS78 and ID ICAMS catalog to SigProfiler format.
path <- system.file("extdata",
"strelka.regress.cat.sbs.96.csv",
package = "ICAMS")
catSBS96 <- ReadCatalog(path)
ConvertCatalogToSigProfilerFormat(input.catalog = catSBS96,
file = file.path(tempdir(), "sigproCat.txt"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.