Parses a GTF (Gene Transfer Format) file and converts it into a tidy data frame with key-value attributes properly separated into columns.
Value
A data frame with GTF columns (seqname, source, feature, start, end, score, strand, frame) plus additional columns for each attribute
Examples
if (FALSE) { # \dontrun{
# Parse a GTF file and keep only gene features
gtf_data <- parse_gtf(
gtf_file = "path/to/annotation.gtf",
fil_label = "gene"
)
# View the parsed data
head(gtf_data)
} # }