annot2ids: Extract matching transcript and gene IDs from a GTF file.

Description Usage Arguments Value

View source: R/input.R

Description

This function performs no file format validation. Please use the appropriate type. It is NOT compatible GFF3, as there is no rigid specification for ID attributes.

Usage

1
annot2ids(annotfile, transc_header = "target_id", gene_header = "parent_id")

Arguments

annotfile

A GTF file.

transc_header

The tile for the transcripts column in the output. (target_id)

gene_header

The tile for the genes column in the output. (parent_id)

Value

A data.table with two columns, matching transcript IDs to gene IDs.


bartongroup/RATS documentation built on May 21, 2018, 4:42 a.m.