load_gtf: Creation of a coordinates data.frame from a GTF file

Description Usage Arguments Value Examples

View source: R/support.R

Description

Creates the coordinates data.frame by reading the data from a GTF file having 9 columns (whihc is the typical format of GTF files from GENCODE).

Usage

1
load_gtf(gtf_file)

Arguments

gtf_file

the path tot he GTF file

Value

a data.frame with columns: id type seqname start end

Examples

1
2
gtf_file <- system.file("extdata", "gencode.v34.annotation.gtf.gz", package = "LErNet")
complete_positions <- LErNet::load_gtf(gtf_file)

InfOmics/LErNet documentation built on April 10, 2021, 4:49 p.m.