merge_trans {surfaltr} | R Documentation

## Associate Inputted Transcripts with Corresponding Primary Transcripts

### Description

This function matches each inputted transcript with its corresponding primary transcripts and returns a data frame containing the gene name, transcript ID and APPRIS annotation for each.

### Usage

    merge_trans(princ, final_trans, if_aa)

### Arguments

`princ` | Data frame containing all primary transcripts and relevant gene information for an organism
`final_trans` | Data frame containing cleaned and formatted input data
`if_aa` | Boolean value indicating if the input file contains amino acid sequences with TRUE indicating that sequences are present and FALSE indicating that only IDs are present

### Value

A data frame containing gene names, transcript IDs, and APPRIS annotations for all inputted data and its corresponding primary transcripts. If sequences were provided, the data frame will also contain the amino acid sequences. If only IDs were provided, the data frame will also contain the UniProt Swissprot ID, UniProt Swissprot isoform ID, and UniProt TREMBL ID for both the inputted data and the primary transcripts.

[Package surfaltr version 1.0.0 Index]