Learn R Programming

GencoDymo2 (version 1.0.2)

tiny_example_gtf_files: Tiny example GTF files

Description

These are minimal GTF files used for examples and testing within the package.

  • gencode.v1.example.gtf.gz contains two genes:

    • GeneA: a single-exon, unspliced gene.

    • GeneB: a spliced gene with two transcripts and multiple exons.

  • gencode.v2.example.gtf.gz contains the same two genes as in gencode.v1.example.gtf.gz plus:

    • GeneC: a new spliced gene with multiple transcripts and many exons.

These files are stored in the inst/extdata/ directory and can be accessed using system.file("extdata", "gencode.v1.example.gtf.gz", package = "GencoDymo2") or system.file("extdata", "gencode.v2.example.gtf.gz", package = "GencoDymo2").

Arguments

Format

Two external GTF files.

See Also

load_file

Examples

Run this code
tiny_v1_path <- system.file("extdata", "gencode.v1.example.gtf.gz", package = "GencoDymo2")
tiny_v2_path <- system.file("extdata", "gencode.v2.example.gtf.gz", package = "GencoDymo2")

gtf1 <- load_file(tiny_v1_path)
head(gtf1)

gtf2 <- load_file(tiny_v2_path)
head(gtf2)

Run the code above in your browser using DataLab