ReadCatalog {ICAMS} | R Documentation |
Read catalog
Description
Read a catalog in standardized format from path.
Usage
ReadCatalog(
file,
ref.genome = NULL,
region = "unknown",
catalog.type = "counts",
strict = NULL,
stop.on.error = TRUE
)
Arguments
file |
Path to a catalog on disk in a standardized format. The recognized formats are:
|
ref.genome |
A |
region |
region A character string designating a genomic region;
see |
catalog.type |
One of "counts", "density", "counts.signature", "density.signature". |
strict |
Ignored and deprecated. |
stop.on.error |
If TRUE, call |
Details
See also WriteCatalog
Value
A catalog as an S3 object; see as.catalog
.
Comments
To add or change attributes of the catalog, you can use function
attr
.
For example, attr(catalog, "abundance")
<- custom.abundance
.
Note
In ID (small insertion and deletion) catalogs, deletion repeat sizes range from 0 to 5+, but for plotting and end-user documentation deletion repeat sizes range from 1 to 6+.
Examples
file <- system.file("extdata",
"strelka.regress.cat.sbs.96.csv",
package = "ICAMS")
catSBS96 <- ReadCatalog(file)