maketx2gene: Create a tx2gene file from a .gff or .gtf file that maps each...

View source: R/utility_functions.R

maketx2geneR Documentation

Create a tx2gene file from a .gff or .gtf file that maps each transcript to its respective gene

Description

maketx2gene creates a tx2gene file from a .gff or .gtf file that maps each transcript to its respective gene

Usage

maketx2gene(txdb_loc, save_loc = NULL)

Arguments

txdb_loc

is the file location of the .gtf or .gff annotation

save_loc

An optional directory location to save the tx2gene data.frame (will save to current working directory otherwise)

Value

a data.frame with columns gene_id, tx_id (transcript id) and NTrans (the number of transcripts in the current transcript's gene)


skvanburen/CompDTUReg documentation built on Jan. 23, 2025, 9:01 a.m.