Skip to contents

This function is used to read a GTF file.

Usage

read_gtf(path = NULL, column_names = NULL, deduplicate_gene_id = TRUE)

Arguments

path

CHARACTER : pathway to gtf file (no default)

column_names

CHARACTER : an optional vector specifying the columns to keep from @elementMetadata (default to NULL)

deduplicate_gene_id

LOGICAL : whether to remove duplicated rows. This could be useful if only gene id are required (default to TRUE)

Value

A dataframe containing columns from @elementMetadata