ICAMS (version 2.0.7)

ReadCatalog: Read catalog.

Description

Read a catalog in standardized format from path.

Usage

ReadCatalog(file, ref.genome, region, catalog.type, strict = TRUE)

Arguments

file

Path to a catalog on disk in the standardized format.

ref.genome

A ref.genome argument as described in ICAMS.

region

region A character string designating a genomic region; see as.catalog and ICAMS.

catalog.type

One of "counts", "density", "counts.signature", "density.signature".

strict

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

Value

A catalog as an S3 object; see as.catalog.

Details

See also WriteCatalog

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")
# }

Run the code above in your browser using DataLab