Learn R Programming

RCNA (version 1.0)

example_obj: Example RCNA_object

Description

An example RCNA object used to run examples and demonstrate the structure of the custom S4 object provided in this package. This example uses a dummy feature ("feature_a") and three coverage files which were subset to the length of the dummy feature to be concise and quick to run. An annotation file has been included in the `inst/` directory along with the coverage files. This object is compiled in the `create_RCNA_object` function's documentation. In order to use this example, you should make the following replacements: example_obj@ano.file <- system.file("examples" ,"annotations-example.csv", package = "RCNA") raw.cov <- system.file("examples", "coverage", paste0(samples, ".txt.gz"), package = "RCNA") example_obj@gcParams$file.raw.coverage <- raw.cov

Usage

example_obj

Arguments

Format

An RCNA object created using create_RCNA_object(). See create_RCNA_object for more details on the slots of this object.

Details

This will set the location of the example annotation file and the example raw coverage files to the flat files included with the package.