Skip to contents

Get transcript-to-gene mapping

Usage

get_tx2gene(species, transcripts = c("all", "longest"))

Arguments

species

Character vector of PLAZA species IDs.

transcripts

Character indicating what transcripts to use for each gene. One of 'all' (all transcripts for each gene), or 'longest' (only longest transcript for each gene).

Value

A 2-column data frame with columns transcript_id (character) and gene_id (character)

Examples

species <- "ota"
tx2gene <- get_tx2gene(species, "all")