ICAMS (version 2.0.7)

WriteCatalog: Write a catalog

Description

Write a catalog to a file.

Usage

WriteCatalog(catalog, file, strict = TRUE)

Arguments

catalog

A catalog as defined in ICAMS; see also as.catalog.

file

The path to the file to be created.

strict

If TRUE, do additional checks on the input, and stop if the checks fail.

Details

See also ReadCatalog.

Examples

Run this code
# NOT RUN {
file <- system.file("extdata",
                    "strelka.regress.cat.sbs.96.csv",
                    package = "ICAMS")
catSBS96 <- ReadCatalog(file, ref.genome = "hg19", 
                        region = "genome",
                        catalog.type = "counts")
WriteCatalog(catSBS96, file = file.path(tempdir(), "catSBS96.csv"))
# }

Run the code above in your browser using DataLab